From 4eeaaee747ef69006cdf0cca2dd64be75dcbd771 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 21:00:27 -0500 Subject: [PATCH] Change timeout message --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 0fa298f..05b9e56 100644 --- a/index.js +++ b/index.js @@ -152,7 +152,7 @@ async function ban(message) { } else { message.reply(`phew! ${member}'s safe!`); } - }).catch(verificationEmbed.edit("TIMEOUT")); + }).catch(verificationEmbed => { verificationEmbed.edit("TIMEOUT") }); } async function kick(message) { @@ -202,7 +202,7 @@ async function kick(message) { } else { message.reply(`phew! ${member}'s safe!`); } - }).catch(verificationEmbed.edit("TIMEOUT")); + }).catch(verificationEmbed => { verificationEmbed.edit("TIMEOUT") }); } async function helpMessage(message) { @@ -317,7 +317,7 @@ async function roleRequest(message) { } else { message.reply("I guess you won't be getting that role!"); } - }).catch(verificationMessage.edit("TIMEOUT")); + }).catch(verificationMessage => { verificationMessage.edit("TIMEOUT") }); }); }