diff --git a/ChaosBot/Discord/Services/ExperienceHandler.cs b/ChaosBot/Discord/Services/ExperienceHandler.cs index fb5c763..4e50d81 100644 --- a/ChaosBot/Discord/Services/ExperienceHandler.cs +++ b/ChaosBot/Discord/Services/ExperienceHandler.cs @@ -70,7 +70,7 @@ namespace ChaosBot.Discord.Services ConfigurationRepository.GetValue("LevelUp:Channel", context.Guild.Id, "false"); string mentionString = $"<@{context.User.Id}>"; - if (!ConfigurationRepository.GetValue("LevelUp:MentionUser", context.Guild.Id, true)) + if (!Convert.ToBoolean(ConfigurationRepository.GetValue("LevelUp:MentionUser", context.Guild.Id, "true"))) { mentionString = context.User.Username; if (context.User is IGuildUser guildUser)