chore: more todos

This commit is contained in:
dusk 2025-01-05 16:30:05 +09:00
parent 77f5642307
commit 021a5ae897
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -147,6 +147,7 @@ public class MessageCreated: IEventHandler<MessageCreateEvent>
catch (PKError e)
{
// don't send an "invalid command" response if the guild has those turned off
// TODO: only dont send command not found, not every parse error (eg. missing params, syntax error...)
if (!(ctx.GuildConfig != null && ctx.GuildConfig!.InvalidCommandResponseEnabled != true))
{
await ctx.Reply($"{Emojis.Error} {e.Message}");
@ -211,4 +212,4 @@ public class MessageCreated: IEventHandler<MessageCreateEvent>
return false;
}
}
}