diff --git a/EventBot/Services/CommandHandlingService.cs b/EventBot/Services/CommandHandlingService.cs index 7bee32e..3b35f49 100644 --- a/EventBot/Services/CommandHandlingService.cs +++ b/EventBot/Services/CommandHandlingService.cs @@ -58,7 +58,7 @@ namespace EventBot.Services var context = new SocketCommandContext(_discord, message); GuildConfig guildConfig = context.Guild != null ? _database.GuildConfigs.FirstOrDefault(g => g.GuildId == context.Guild.Id) : null; if (!message.HasMentionPrefix(_discord.CurrentUser, ref argPos)) - if (guildConfig != null) + if (guildConfig != null && string.IsNullOrEmpty(guildConfig.Prefix)) { if (!message.HasStringPrefix(guildConfig.Prefix, ref argPos)) return;