mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-12-12 22:56:25 +01:00
allow setting multiple targets per channel
This commit is contained in:
parent
acbab3c97b
commit
e09293cc4e
6 changed files with 65 additions and 46 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue