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:
1 parent
3c3fe3b9f7
commit
69404a97cd
9 files changed
+746
-14
No files matched your search
@@ -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