Slothbot just got an upgrade!
- Create a
config.jsonfile 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
INCLUDEandLIBPATHenvironment variables to point to the<openssl dir>\includefolder. - Add a
config.jsoncontaining thebot_token. - Run with
cargo runfrom the root directory. - Remember to include the
*.dllfiles if you move the.exefile.
- Install
libsqlite3-devusingaptitude. - Add a
config.jsoncontaining thebot_token. - Run with
cargo runfrom the root directory. - Remember to include the
*.libfiles if you move the executable file.