Debugger
Represents the debugger client
Constructor
PARAMETER
TYPE
DESCRIPTION
OPTIONAL
client
discord.js Client instance
❌
options
Debugger options
✅
Properties
.owners
.owners
Array of owner IDs Type: Snowflake[]
.client
.client
discord.js Client instance Type: Client
.options
.options
Debugger Options Type: ?Options
Methods
.messageRun(message
, args?
)
message
, args?
)Runs the debugger instance for message commands
PARAMETER
TYPE
DETAILS
OPTIONAL
message
discord.js Message instance
❌
args
Message args, including sub command
✅
Examples:
.addOwner(id
)
id
)Recommended: !debug owners add <id>
Add a userId
to the owners array
PARAMETER
TYPE
DETAILS
OPTIONAL
id
User ID
❌
Returns: string[]
Examples:
.removeOwner(id
)
id
)Recommended: !debug owners remove <id>
Remove a userId
from the owners array
PARAMETER
TYPE
DETAILS
OPTIONAL
id
User ID
❌
Returns: string[]
Examples:
Last updated