A deployment solution for dsns.dev using discord.js.
This bot will execute a Python script when run with /deploy, then display the output in Discord.
git clone https://github.com/dsnsgithub/deploybot
cd deploybot
npm install
GUILD_ID = [id from guild where you want to send chat messages]
DISCORD_BOT_TOKEN = [create a discord bot in the developer portal and add the token here]
CLIENT_ID = [discord bot client id, found in discord developer portal]
SCRIPT_PATH = [complete path to your python script]
ts-node -T deploy-commands.ts
ts-node -T .