Compare commits
1 Commits
debug_bran
...
060d9e3785
Author | SHA1 | Date | |
---|---|---|---|
|
060d9e3785 |
@@ -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;
|
||||
|
Reference in New Issue
Block a user