mirror of
https://github.com/Syping/dtranslatebot.git
synced 2026-04-01 21:30:40 +02:00
uint64_t -> dpp::snowflake + std::string -> dpp::webhook
This commit is contained in:
parent
7ee916537c
commit
06dec819ff
3 changed files with 19 additions and 21 deletions
|
|
@ -95,7 +95,7 @@ void bot::message_queue::run(bot::settings::settings *settings, bot::submit_queu
|
|||
std::cerr << "Exception thrown while translating: unknown" << std::endl;
|
||||
}
|
||||
|
||||
submit_queue->add(make_translated_message(message, tr_message, dpp::webhook(target->webhook)));
|
||||
submit_queue->add(make_translated_message(message, tr_message, target->webhook));
|
||||
}
|
||||
|
||||
std::this_thread::yield();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue