Parent Directory
|
Revision Log
|
Patch
revision 57 by rakin, Mon Jul 29 17:28:24 2024 UTC | revision 58 by rakin, Mon Jul 29 17:28:25 2024 UTC | |
---|---|---|
# | Line 26 export default class MessageCreateEvent | Line 26 export default class MessageCreateEvent |
26 | .split(/ +/); | .split(/ +/); |
27 | ||
28 | const command = await client.commands.get(cmdName); | const command = await client.commands.get(cmdName); |
const allowed = await client.auth.verify(message.member!, cmdName); | ||
29 | ||
30 | if (command && command.supportsLegacy) { | if (command && command.supportsLegacy) { |
31 | const allowed = await client.auth.verify(message.member!, command); | |
32 | ||
33 | if (allowed) { | if (allowed) { |
34 | const options = { | const options = { |
35 | cmdName, | cmdName, |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |