ODSlashCommandComparator class
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
(no description)
Properties
Properties
Methods
constructor() function ➜ api.ODSlashCommandComparator
(no description)
compare() function ➜ boolean
Returns true when the 2 slash commands are the same.
View Parameters (2)
cmdA: interface ➜api.ODSlashCommandUniversalCommand- Parameter Description Lorem Ipsum.cmdB: interface ➜api.ODSlashCommandUniversalCommand- Parameter Description Lorem Ipsum.
compareOption() function ➜ boolean
Returns true when the 2 slash command options are the same.
View Parameters (2)
optA: interface ➜api.ODSlashCommandUniversalOption- Parameter Description Lorem Ipsum.optB: interface ➜api.ODSlashCommandUniversalOption- Parameter Description Lorem Ipsum.
convertBuilder() function ➜ api.ODSlashCommandUniversalCommand
Convert a ODSlashCommandBuilder to a universal Open Ticket slash command object for comparison.
View Parameters (2)
builder: interface ➜api.ODSlashCommandBuilder- Parameter Description Lorem Ipsum.guildId: type ➜null|string- Parameter Description Lorem Ipsum.
convertCommand() function ➜ api.ODSlashCommandUniversalCommand
Convert a discord.ApplicationCommand to a universal Open Ticket slash command object for comparison.
View Parameters (1)
cmd: type ➜discord.ApplicationCommand- Parameter Description Lorem Ipsum.
Defaults
under construction
We're still working on this part of the documentation!
Examples
under construction
We're still working on this part of the documentation!