diff --git a/addbot.js b/addbot.js old mode 100644 new mode 100755 index 667fbab..5bacfdd --- a/addbot.js +++ b/addbot.js @@ -1,3 +1,4 @@ +#! /usr/bin/env node // @ts-check const config = require("./config") diff --git a/addbot.sh b/addbot.sh deleted file mode 100755 index 6c3ff4b..0000000 --- a/addbot.sh +++ /dev/null @@ -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 discordToken config.js | sed -E 's!.*: ["'\'']([A-Za-z0-9+=/_-]*).*!\1!g' | base64 -d)&scope=bot&permissions=1610883072"