Fix event notifications not being delivered due to invalid config reference

This commit is contained in:
Octol1ttle 2022-11-20 15:26:40 +05:00
parent 917e7e5775
commit 8f10f37d2e
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -184,6 +184,6 @@ public static class Utils {
}
public static SocketTextChannel? GetEventNotificationChannel(SocketGuild guild) {
return guild.GetTextChannel(ParseMention(Boyfriend.GetGuildConfig(guild.Id)["EventCreatedChannel"]));
return guild.GetTextChannel(ParseMention(Boyfriend.GetGuildConfig(guild.Id)["EventNotificationChannel"]));
}
}