Skip to content

AjdinTM/Snakecord

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Snakecord (archived*)

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.

Features

This bot has a lot of different features, including automatic movement, points system and backgrounds! Cool Stuff!

Screenshot  

Run the code yourself

Repl.it:

  • 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. (Run bash 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.

Local:

  • 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. (Run node src/index.js development beta if you want to start the development bot.)

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.

About

A simple and fun way to play Snake inside of Discord!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.4%
  • Shell 1.6%