AFKHandlerInteraface

AFKHandlerInterface<T = unknown> -> Interface

  • gadget: AFKHandler<T>["gadget"];

  • commands: Map<string, CommandInterface>;

  • aliases: Map<string, string>;

  • categories: Map<string, string[]>;

  • developers?: Snowflake[];

  • cooldowns: Map<string, number>;

  • slashCommands: Map<string, SlashCommandInterface>;

  • gadget: Your own property, assigned in AFKHandler contrusctor

  • commands: Where the commands are stored

  • aliases: Where the aliases are stored

  • categories: Where the categories are stored

  • developers: Developers of the bot, assigned in the constructor

  • cooldowns: Where the cooldowns are stored

  • slashCommands: Where the slash commands are stored

Last updated

Was this helpful?