This example starts a Discord bot using discord.js.
- Discord.js
- JavaScript
- Install dependencies
yarn - Connect to your Railway project
railway init - Start the bot
railway run yarn dev
The server started simply returns the current time in the database. The SQL
query is located in src/index.js.