mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 10:50:09 +00:00
* Update docs for desired properties * Update examples to use createBot desiredProperties The BigBot and reaction roles examples use the Discordeno CLI * Migrate examples to v19 stable * Docs work
531 B
531 B
Reaction roles example bot
Example bot for reaction-roles using Discord Interactions and not classic reactions.
Setup
- Rename
.env.exampleto.envand add your bot token in theTOKENvariable - Replace
REPLACE WITH YOUR GUILD IDinsrc/register-commands.tswith your test guild id
Run the bot
yarnto install the dependenciesyarn postinstallto run the Discordeno Desired Properties CLIyarn buildto build the .ts files into .jsyarn start(ornode ./dist/index.js) to run the bot