Commands
Introduction to Commands
The primary entry point for any Discord bot is commands. In Seyfert, commands are defined using TypeScript decorators, making it easier to specify their properties, options, middlewares, and subcommands.
If you haven't created your first command yet, please refer to that introductory guide before proceeding.
Declaring a Command
All commands in Seyfert are class-based, and each class extends the base Command
class.
Additionally, the name and description are mandatory properties for every command. Below is a list of possible properties that can be used with the @Declare
decorator: