| title | description | tags | ||
|---|---|---|---|---|
Discord bot |
A Discord bot written in JavaScript |
|
This example starts a Discord bot using discord.js.
- Discord.js
- JavaScript
- Install dependencies
yarn - Connect to your Railway project
railway link - Start the bot
railway run yarn dev
- To create a new command, just create a file in the
Commandsdirectory. You can take a look at theTemplate.jsfile for an example of what commands should look like. For any additional help see the discord.js guide. - If you need any additional help with this, join our Discord server and create a thread in the project help channel.