shouldDeleteOnPost - which should delete the message once it has been posted.MessageCommandRun would have fired before any of the preconditions, but it seems it does not. MessageCommandRun does not fire. It fires if the precondition is passed, or does not exist. MessageCommandAccepted and MessageCommandDenied events - which would have worked perfectly, until I realised that MessageCommandDenied doesn't appear to have any context of what the command itself actually was. MessageCommandDenied (unlikely?) shouldDeleteOnPost and deleting them, regardless of precondition status.PreMessageCommandRun - though still open to feedback about whether this is the best possible place for itJoin the Discord to ask follow-up questions and connect with the community
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,286 Members
Join