Skip to content

Instantly share code, notes, and snippets.

View Iinksafe's full-sized avatar
🔗
No links allowed.

Link Safe Iinksafe

🔗
No links allowed.
View GitHub Profile
@Iinksafe
Iinksafe / webhook.py
Created April 27, 2021 15:12 — forked from Bilka2/webhook.py
Simple discord webhook with python
import requests #dependency
url = "<your url>" #webhook url, from here: https://i.imgur.com/f9XnAew.png
#for all params, see https://discordapp.com/developers/docs/resources/webhook#execute-webhook
data = {
"content" : "message content",
"username" : "custom username"
}
@Iinksafe
Iinksafe / self-hosting.md
Created March 17, 2021 13:46 — forked from waterflamev8/self-hosting.md
Self-hosting Modmail

A Definitive Guide to Self-hosting Modmail

Setup
  1. Fork the repo (Best to make it private).
  2. Define a Procfile in the root of the directory and fill the contents with worker: python3 launcher.py.
  3. Create a new app on Heroku and deploy the repo you've just forked.
  4. Go to "elements" and install the PostgresQL and Redis add-ons to your new app.