This is an open source Discord Application created by LcSmith for general usage with some specific elements.
Author: LcSmith
References: https://discordjs.guide/, https://www.w3schools.com/js
Node.JS & modules for Discord.JS
You will need a config.json with the "clientId" and bot "token"
More commands may be present but not listed.
help - This replies with a help page
ping - This replies with pong, used to test bot response speed
ability - This rolls ability dice for DnD style RPG games
dmroll - This rolls dice but only the user can see the output
roll - This rolls dice
asCalc - This is a calculation for the time it takes to reach a level goal
asDamage - This calculates the damage dealt based on level
asHealth - This calculates the health based on level
asLevel - This calculates the level based on damage
-
Open terminal into main
-
Run the below commands in order:
-
node deploy-commands.js
-
node index.js
-
Hold Ctrl and press C
-
Close the terminal