Custom DiscordBot made for the private BD Discord server. This is just a fun project several teammates work on occasionally in our free time. This is currently only available to those on the server, however a deployable version for anyone to use is planned.
/help
lists the available commands in the current context (Discord server or DM).
To view the description and parameter information for a particular command, initiate a slash command by typing /
followed by the command on a Discord server.
git clone https://github.com/Kyle-Stadelmann/DiscordBot
cd DiscordBot
node -v
matches the version in .nvmrc
(can use nvm use
or nvm use [version]
if nvm is installed)npm install
cp .env.template .env
.env
file with API keys/secretsIn the development environment, the development bot specified in the .env
file (DEV_BOT_TOKEN) will be used instead of the production one. Additionally, certain rules such as removing cooldowns are activated to make development smoother.
npm run start
or npm run dev
for hot-reload
In the production environment, the bot is launched using transpiled javascript in order to use less resources.
npm run build
npm run start-prod
Scripts in src/scripts
can be executed separately from the bot. These can be executed using tsx.
npx tsx [script-name]