mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
populate channel list from READY message and other shit
This commit is contained in:
@@ -64,6 +64,15 @@ std::string Abaddon::GetDiscordToken() const {
|
||||
return m_discord_token;
|
||||
}
|
||||
|
||||
const DiscordClient &Abaddon::GetDiscordClient() const {
|
||||
std::scoped_lock<std::mutex> guard(m_mutex);
|
||||
return m_discord;
|
||||
}
|
||||
|
||||
void Abaddon::DiscordNotifyReady() {
|
||||
m_main_window->UpdateChannelListing();
|
||||
}
|
||||
|
||||
void Abaddon::ActionConnect() {
|
||||
if (!m_discord.IsStarted())
|
||||
StartDiscord();
|
||||
|
||||
Reference in New Issue
Block a user