Discord.Net
Discord.Net copied to clipboard
Rename precondition base classes in 4.0
Creating a custom precondition is possible by inheriting from PreconditionAttribute for both interactions and commands. When you don't pay attention it's easy to import the wrong namespace and the precondition will not work. I propose to rename PreconditionAttribute to InteractionPreconditionAttribute and CommandPreconditionAttribute respectively.