Add the following code to your project's shard.yml under:
dependencies
to use in production
- OR -
development_dependencies
to use in development
WIP rewrite of beanbot using a Crystal backend
i was bored ok
Clone this repo
Create a .env file in the project root and add TOKEN=your bot token
and CLIENT_ID=your bot client id
on individual lines
Make sure Crystal and Shards are installed and run these commands:
shards update
shards install
crystal run main.cr
If all goes well you should see 2 environment variables loaded!
and some info logs in your console, the bot is now running!
none yet lmao