allow setting multiple targets per channel

This commit is contained in:
Syping 2024-01-12 00:09:18 +01:00
parent acbab3c97b
commit e09293cc4e
6 changed files with 65 additions and 46 deletions

View file

@ -29,11 +29,8 @@ namespace bot {
std::string author;
std::string avatar;
std::string message;
/* Webhook URL */
std::string webhook;
/* Translation Parameters */
std::string source;
std::string target;
std::vector<std::pair<std::string,std::string>> targets;
};
class message_queue {