uh
This commit is contained in:
parent
3fb1b8bea3
commit
d51d489a0b
1 changed files with 1 additions and 3 deletions
|
@ -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)];
|
||||
|
|
Loading…
Reference in a new issue