commit d51d489a0b0ef3f86365cb9e717e496320075c7a
parent 3fb1b8bea3beca09a85713611b1a887e44882295
Author: NK <[email protected]>
Date: Thu, 6 Apr 2023 14:17:35 +0100
uh
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/util/functions/function.js b/util/functions/function.js
@@ -394,9 +394,7 @@ async function confirmation(message, author, validReactions, time = 60000) {
return message
.awaitReactions({ filter, max: 1, time: time })
.then(collected => collected.first() && collected.first().emoji.name);
- } catch (e) {
- console.log(e);
- }
+ } catch (_) {}
}
function selectRandom(array = []) {
return array[Math.floor(Math.random() * array.length)];