-
Notifications
You must be signed in to change notification settings - Fork 242
Conversation
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
Kinda looks like you do know what you're doing, nice work and attention to detail. |
Does anyone know when this will merge, it would be super useful in my current project. Thanks |
I had plans for generalising the functionality for guildOnly into a feature called "filters" that allow for a cleaner, more extensible method of specifying multiple conditions to check before a command is run (other than permissions). That being said, I don't see the purpose of a DM only filter like this. What's the use-case? |
That filter option is fine with me but there are some commands which should just be done in dms. The feature has already been written and can be removed once your filters come out. Thanks. |
Okay, but if there are commands that should only be used in DMs, wouldn't you want to delete the message triggering it if it isn't in a DM, when possible (assuming it may have sensitive info)? In order for that to happen, you still need the command being processed. |
Well the way I see it, since adding the The only issue I can see in this code is a validation issue in the base.js file, there should be a check if both guildOnly and dmOnly is set to |
Yeah I agree wtih @Elara-Discord-Bots I think we should just merge it cause its a good solution until filters come out and can be removed l ater. |
Any news on this @Gawdl3y or @dragonfire535 ? |
Closing due to inactivity and discontinuation of Commando |
not a clue what im doing but saw this in #295 so tried to implement it...