Simple Discord Webhook.
Webhooks are a low-effort way to post messages to channels in Discord.
They do not require a bot user or authentication to use.
Need Python 3.x
Install packages with pip
- requests, json
Download files in a folder (ie: E/PyscordHook/
for Windows)
- Go on your discord server
- Edit a chat room
- Create Webhooks
- And get webhook url
Edit settings.py
with your settings.
For Windows
cd E:/PyscordHook
python.exe discord_hook.py TOPHOOK
- Add new dict like
TOPHOOK
insettings.py
- Add its var name in
ENABLE_HOOK
insettings.py
- Import new dict in
discord_hook.py