beta1d - removed timeouts, cleaned up code, updated JSDoc, added options to disable command as a slash command

This commit is contained in:
mmacierzanka committed 2021-08-09 13:48:40 +02:00
1 parent 027c5aa15a
commit 4b37c92781
5 files changed
+28 -29

No files matched your search

+5
View File
@@ -154,6 +154,11 @@ export class CommandManager {
}
}
/**
* Fetches command and parameters from the given *CommandInteraction* object
* @param {CommandInteraction} interaction - interaction object
* @returns *CommandMessagesStructure* | *null*
*/
fetchFromInteraction(
interaction: CommandInteraction
): CommandMessageStructure | null {