A collection of command snippets for a discord.js v13 bot. (Assumes your bot is built following the guide/tutorial)
Please use these as examples, though the code works, I give no guarantee that it's good code.
Changelog |
---|
Discord.js v13 Command Handling on @discordjs/guide
Use Github's Issue tracker to post ideas and suggestions.
Command | Description | Permalink |
---|---|---|
bmi.js | Body Mass Index Calculator | commands/bmi/bmi.js |
convert.js | Convert a unit to another | commands/convert/convert.js |
mhr.js | Calculate user Max Heart Rate. | commands/mhr/mhr.js |
tdee.js | Calculate user Total Daily Energy Expenditure. | commands/tdee/tdee.js |
macros.js | Calculate user Macronutrients based on their goals. | commands/macros/macros.js |
onerep.js | Calculate user One Repetition Maximum. | commands/onerep/onerep.js |
Command | Description | Permalink |
---|---|---|
thumbnail.js | Fetch YouTube Video Thumbnail | commands/thumbnail/thumbnail.js |
Command | Description | Permalink |
---|---|---|
generate-name.js | Generate a random name | commands/generate-name/generate-name.js |