| title | Discord bot | ||
|---|---|---|---|
| description | A Discord bot written in JavaScript | ||
| tags |
|
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
The server started launches a Discord bot with a couple of basic commands. The code is located at src/index.js.