Fix: add generated webhooks to webhook vector

This commit is contained in:
Syping 2024-01-25 21:25:33 +01:00
parent 3a158b400f
commit eb301aee1c
3 changed files with 12 additions and 3 deletions

View file

@ -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()