This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ____ ___ __ | |
* \ \/ / ______ ____ _______/ |_ | |
* \ / ______ \____ \ / _ \/ ___/\ __\ | |
* / \ /_____/ | |_> > <_> )___ \ | | | |
* /___/\ \ | __/ \____/____ > |__| | |
* \_/ |__| \/ | |
* | |
* Crossposts messages between facebook messenger chats and | |
* discord channels. When sending messages from messenger to |

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
sess = requests.Session() | |
sess.headers.update({ | |
"Content-type": "application/json", | |
"Authorization": "<replace your discord token here>", | |
}) | |
# Define methods |