Slothbot just got an upgrade!
- Create a
config.json
file with the following:{ "bot_token": "<the bot token>", "sqlite_path": "<path to the sqlite database>" }
- See the platform specifics below.
- On windows get openssl (the installer for developers).
- Set the
INCLUDE
andLIBPATH
environment variables to point to the<openssl dir>\include
folder. - Add a
config.json
containing thebot_token
. - Run with
cargo run
from the root directory. - Remember to include the
*.dll
files if you move the.exe
file.
- Install
libsqlite3-dev
usingaptitude
. - Add a
config.json
containing thebot_token
. - Run with
cargo run
from the root directory. - Remember to include the
*.lib
files if you move the executable file.