mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-12-12 22:56:25 +01:00
improvements to configuration parser
This commit is contained in:
parent
e09293cc4e
commit
a746eda39b
6 changed files with 111 additions and 61 deletions
|
|
@ -26,11 +26,12 @@
|
|||
|
||||
namespace bot {
|
||||
struct message {
|
||||
uint64_t id;
|
||||
std::string author;
|
||||
std::string avatar;
|
||||
std::string message;
|
||||
std::string source;
|
||||
std::vector<std::pair<std::string,std::string>> targets;
|
||||
std::vector<bot::settings::target> targets;
|
||||
};
|
||||
|
||||
class message_queue {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue