Diswrap.js
  • Diswrap.js
  • Installation
  • Example Bot
  • Beta Information
  • Usage Agreement of Diswrap.js Pro
  • Classes
    • Client
    • commandsBuilder
    • commandsManager
    • publishCommand
  • Types
    • Commands
    • Intents
    • SlashCommandLocale
    • SlashCommandOperations
    • SlashCommandOptionType
  • Definitions
    • clientOptions
Powered by GitBook
On this page
  1. Classes

commandsManager

Identify the template command from client Interaction and then execute the appropriate command.

PreviouscommandsBuilderNextpublishCommand

Last updated 2 years ago

new commandsManager(...args)
Arguments
Required
Type
Description

args

Any

All the arguments passed down from the interaction.

The first argument that get passed is ALWAYS the Object

Interaction