AddBot.js as an executable script

This commit is contained in:
Rory& 2024-07-31 21:06:35 +02:00
parent da5525a542
commit af7cc1bdb5

View file

@ -1,3 +0,0 @@
#!/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 discord_token registration.yaml | sed -E 's!.*: ["'\'']([A-Za-z0-9+=/_-]*).*!\1!g' | base64 -d)&scope=bot&permissions=1610883072"