droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
|
#include "BotLibrary.hpp"
#include <Bot.hpp>
#include <Commands.hpp>
#include <Database.hpp>
#include <fstream>
Functions | |
void | start_bot (const bool IS_TEST) |
this is the entry point of the binary that will start the bot | |
std::string | read_bot_token (const std::string &file) |
reads the bot token from a file | |
std::string | read_database_credentials (const std::string &file) |
reads the connection string for the postgres database from a file | |
|
nodiscard |
reads the bot token from a file
file | the name of the file holding the bot token |
|
nodiscard |
reads the connection string for the postgres database from a file
file | the name of the file holding the connection string |
void start_bot | ( | const bool | IS_TEST | ) |
this is the entry point of the binary that will start the bot