Skip to content

Instantly share code, notes, and snippets.

View aiden2480's full-sized avatar
🍫
yum

Aiden Gardner aiden2480

🍫
yum
View GitHub Profile
@aiden2480
aiden2480 / discord_messenger_xpost.js
Last active November 30, 2022 06:01
Crosspost messages between a Facebook Messenger group chat and a Discord server
/**
* ____ ___ __
* \ \/ / ______ ____ _______/ |_
* \ / ______ \____ \ / _ \/ ___/\ __\
* / \ /_____/ | |_> > <_> )___ \ | |
* /___/\ \ | __/ \____/____ > |__|
* \_/ |__| \/
*
* Crossposts messages between facebook messenger chats and
* discord channels. When sending messages from messenger to
@aiden2480
aiden2480 / sunset.jpg
Last active October 4, 2022 07:58
Sunset image manipulation with Python
sunset.jpg
@aiden2480
aiden2480 / discord_prevent_dms.py
Created August 28, 2022 07:37
Searches your discord account for any folders with the colour #09090A and prevents users in those servers from being able to DM you if one of those servers is your only common server. This is useful for hiding away bot lists and the like
import requests
sess = requests.Session()
sess.headers.update({
"Content-type": "application/json",
"Authorization": "<replace your discord token here>",
})
# Define methods