droplet
1.3.0
A multipurpose Discord bot with the hacker in mind
Toggle main menu visibility
Loading...
Searching...
No Matches
BotLibrary.hpp
Go to the documentation of this file.
1
/*
2
* (c) Copyright erarnitox.de - All rights reserved
3
* Author: Erarnitox <david@erarnitox.de>
4
*
5
* License: MIT License
6
*
7
* Description: This Library combines all the
8
* fuctionality of the bot into a static library
9
* that can be used by the main binary and also
10
* the unit_test binary.
11
*
12
* Documentation: https://droplet.erarnitox.de/doxygen/bot_library
13
*/
14
15
#pragma once
16
17
#include <string>
18
19
//-----------------------------------------------------
20
//
21
//-----------------------------------------------------
22
auto
start_bot
(
bool
IS_TEST =
false
) -> void;
23
24
//-----------------------------------------------------
25
//
26
//-----------------------------------------------------
27
[[nodiscard]] std::string
read_bot_token
(
const
std::string& file);
28
29
//-----------------------------------------------------
30
//
31
//-----------------------------------------------------
32
[[nodiscard]] std::string
read_database_credentials
(
const
std::string& file);
read_database_credentials
std::string read_database_credentials(const std::string &file)
Definition
BotLibrary.cpp:37
start_bot
void start_bot(const bool IS_TEST)
Definition
BotLibrary.cpp:15
read_bot_token
std::string read_bot_token(const std::string &file)
Definition
BotLibrary.cpp:20
src
bot_library
include
BotLibrary.hpp
Generated by
1.18.0