diff --git a/DiscordLab.ConnectionLogs/Handlers/DiscordBot.cs b/DiscordLab.ConnectionLogs/Handlers/DiscordBot.cs index 69b4de0..dd79091 100644 --- a/DiscordLab.ConnectionLogs/Handlers/DiscordBot.cs +++ b/DiscordLab.ConnectionLogs/Handlers/DiscordBot.cs @@ -29,7 +29,7 @@ public void Unregister() public SocketGuild GetGuild() { - return Bot.Handlers.DiscordBot.Instance.Client.GetGuild(Plugin.Instance.Config.GuildId); + return Bot.Handlers.DiscordBot.Instance.GetGuild(Plugin.Instance.Config.GuildId); } public SocketTextChannel GetJoinChannel() diff --git a/DiscordLab.DeathLogs/Handlers/DiscordBot.cs b/DiscordLab.DeathLogs/Handlers/DiscordBot.cs index 6dc85e7..9c9e2ff 100644 --- a/DiscordLab.DeathLogs/Handlers/DiscordBot.cs +++ b/DiscordLab.DeathLogs/Handlers/DiscordBot.cs @@ -27,7 +27,7 @@ public void Unregister() public SocketGuild GetGuild() { - return Bot.Handlers.DiscordBot.Instance.Client.GetGuild(Plugin.Instance.Config.GuildId); + return Bot.Handlers.DiscordBot.Instance.GetGuild(Plugin.Instance.Config.GuildId); } public SocketTextChannel GetChannel()