Add "addbot" feature

This commit is contained in:
Cadence Ember 2023-10-02 21:48:06 +13:00
parent 6d83df2e95
commit 708955c062
6 changed files with 40 additions and 1 deletions

3
addbot.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
echo "Open this link to add the bot to a Discord server:"
echo "https://discord.com/oauth2/authorize?client_id=$(grep discordToken config.js | sed -E 's!.*: ["'\'']([A-Za-z0-9+=/_-]*).*!\1!g' | base64 -d)&scope=bot&permissions=1610883072"