Parent Directory
|
Revision Log
|
Patch
revision 393 by rakin, Mon Jul 29 17:29:59 2024 UTC | revision 397 by rakin, Mon Jul 29 17:30:01 2024 UTC | |
---|---|---|
# | Line 50 export default class MessageCreateEvent | Line 50 export default class MessageCreateEvent |
50 | const allowed = await client.auth.verify(message.member!, command); | const allowed = await client.auth.verify(message.member!, command); |
51 | ||
52 | if (allowed) { | if (allowed) { |
53 | if (!(await client.cooldown.onMessageCreate(message, command))) { | |
54 | console.log(`Skipping execution of command \'${cmdName}\' - Cooldown`); | |
55 | return; | |
56 | } | |
57 | ||
58 | const options = { | const options = { |
59 | cmdName, | cmdName, |
60 | args, | args, |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |