Parent Directory
|
Revision Log
|
Patch
revision 54 by rakin, Mon Jul 29 17:28:24 2024 UTC | revision 55 by rakin, Mon Jul 29 17:28:24 2024 UTC | |
---|---|---|
# | Line 32 export default class InteractionCreateEv | Line 32 export default class InteractionCreateEv |
32 | return; | return; |
33 | } | } |
34 | ||
35 | await command.run(client, interaction, { | const options = { |
36 | cmdName: commandName, | cmdName: commandName, |
37 | options: interaction.options, | options: interaction.options, |
38 | isInteraction: true | isInteraction: true |
39 | } as InteractionOptions); | } as InteractionOptions; |
40 | ||
41 | if (!await client.cooldown.start(interaction, options)) | |
42 | return; | |
43 | ||
44 | await command.run(client, interaction, options); | |
45 | } | } |
46 | } | } |
47 | } | } |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |