Skip to content

Discord bot. Create, trade and view randomly generated slimes!

License

Notifications You must be signed in to change notification settings

lavaskin/slimes-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A discord bot where you can generate, trade and collect uniquely generated slimes!
The bot has an econemy system, use s!claim to claim coins every hour and s!generate to create a slime!

Setting up Firebase/Firestore

  • Needed collections:
    1. users
    2. users-dev
    3. ...
  • In users and users-dev, create a document called "ranch" with the array fields: slimes, favs. This is where sold slimes will be added to.

How to build the bot:

  1. Fill out all the relevant information in a '.env' file. Use .env-example.txt as a reference.
  2. Create an /other/firebase.json file from the json Firebase gives you on their site after you initialize a firestore database.
  3. Install all the relevant dependencies with poetry, and run with: poetry run python3 bot.py
  4. Note that I'm not going out of my way to support forks of the project so don't ask for help on setting it up.

Bot Commands (Prefix: s!):

See this description file as I'm too lazy to maintain two lists, or use s!help on the bot.

TODO

There is a Trello board that I'm not paying to have an observer option on, but I usually make features I'm working on/planning known.

Credits

  • Art:
    • tutbot: SlimeV2 pixel art and various assets for slimes-bot.
    • Holmesian: Tons of assets added in this commit!
  • Testing:
    • Sinful Dante
    • Mr. Pt
    • tutbot
  • Other:
    • KingTenechi: Ideas and help with color verification.

About

Discord bot. Create, trade and view randomly generated slimes!

Topics

Resources

License

Stars

Watchers

Forks