oops forgot to turn on linter
This commit is contained in:
parent
bd38870c44
commit
823c1d4de8
9 changed files with 103 additions and 103 deletions
|
@ -1,4 +1,4 @@
|
|||
const Event = require("../../base/Event.js");
|
||||
const Event = require('../../base/Event.js');
|
||||
module.exports = class InteractionHandler extends Event {
|
||||
constructor (wsEvent) {
|
||||
super (wsEvent);
|
||||
|
@ -39,7 +39,7 @@ module.exports = class InteractionHandler extends Event {
|
|||
return interaction.reply({
|
||||
content: `${client.config.emojis.wait} You need to wait ${cooldown - timePassed} seconds before using this command again.`,
|
||||
ephemeral: true
|
||||
});
|
||||
});
|
||||
} else {
|
||||
client.cooldowns.get(command.name).set(interaction.user.id, new Date());
|
||||
setTimeout(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue