30 Second Wait in Mod Commands

This commit is contained in:
Daniel Odendahl Jr
2017-06-09 17:13:01 +00:00
parent 300411824d
commit fe54dc26c0
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = class WarnCommand extends Command {
await msg.say(`Are you sure you want to warn ${member.user.tag} (${member.id})?`);
const msgs = await msg.channel.awaitMessages((res) => res.author.id === msg.author.id, {
max: 1,
time: 15000
time: 30000
});
if (!msgs.size || !['y', 'yes'].includes(msgs.first().content.toLowerCase())) return msg.say('Aborting.');
try {