Thank you for your interest in contributing!
-
Clone the repository:
git clone https://github.com/AntikoreDev/trophy-bot.git cd trophy-bot -
Install the dependencies:
nvm install 18 nvm use 18 npm install
-
Create a
.envfile with your Discord token:DISCORD_TOKEN=your_token_here
-
Start the bot:
node index.js
index.js: entry point, starts the bot and loads events.commands/: commands organized by type (bot, manage, users).commons/: utilities, models, and database access.events/: Discord event handlers.locale/: language files and translations.windows/: visual components for Discord.
- Comment main functions and modules.
- Use clear names for variables and functions.
- Keep code style consistent.
- If you add dependencies, update
package.json. - If you create new commands, add them in the correct folder and document their use.
Use GitHub Issues to report bugs or suggest improvements.