This bot posts match invitations in a #gaming channel and lets users join via reactions.
- Install dependencies:
npm install
- Create a
.envfile with your Discord token:DISCORD_TOKEN=your_token_here
- Run the bot locally:
node index.js
- Initialize a git repository and push your code to GitHub.
- Create a new project on Railway and link your GitHub repo.
- Add the
DISCORD_TOKENvariable in Railway's Variables panel. - Deploy. Railway uses the provided
Procfileto start the bot.