mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-09-11 11:16:38 +02:00
Fix: add generated webhooks to webhook vector
This commit is contained in:
parent
3a158b400f
commit
eb301aee1c
3 changed files with 12 additions and 3 deletions
|
@ -36,7 +36,11 @@ void bot::settings::settings::add_channel(const bot::settings::channel &channel,
|
|||
guild.id = guild_id;
|
||||
guild.channel.push_back(channel);
|
||||
m_guilds.push_back(guild);
|
||||
return;
|
||||
}
|
||||
|
||||
void bot::settings::settings::add_translatebot_webhook(const dpp::webhook &webhook)
|
||||
{
|
||||
m_webhookIds.push_back(webhook.id);
|
||||
}
|
||||
|
||||
uint16_t bot::settings::settings::get_avatar_size()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue