A simple and fun way to play Snake inside of Discord! This Discord bot was made with Replit, using Discord's new message components! This project was made for the 2021 Replit Discord Bot task. (🥈 2nd place winner!)
Invite Snakecord to your Discord server here.
This bot has a lot of different features, including automatic movement, points system and backgrounds! Cool Stuff!
- Fork the GitHub Repository inside of Replit. (Home -> Plus Button)
- Open the Secrets window on the left.
- Add the following secrets:
PRODUCTION_STABLE
as the key, and your bot's token as the value.DEVELOPMENT_BETA
as the key, and your bot's token as the value. (Only add this secret if you want a separate development bot.)
- Go to the Shell.
- Run
bash start.sh
to install Node 15.3.0 and to start the bot. (Runbash beta.start.sh
if you want to start the separate development bot.)
Note: Using the Repl.it shell and executing the bash scripts is required because Replit uses Node 12.16.1 instead of Node 15.3.0.
- Install Node 15.3.0.
- Clone the GitHub Repository to your machine.
- Add the following environment variables:
PRODUCTION_STABLE
as the key, and your bot's token as the value.DEVELOPMENT_BETA
as the key, and your bot's token as the value. (Only add this variable if you want a separate development bot.)
- Run
node src/index.js production stable
to install Node 15.3.0 and to start the bot. (Runnode src/index.js development beta
if you want to start the development bot.)
- This repository is licensed under the MIT license.
- This project has been originally made only for the Repl.it task, and since I couldn't maintain it for a long time now, I've decided to officially archive this project.