This commit is contained in:
Dragon Fire
2020-10-30 12:03:04 -04:00
parent 801e9d1cd9
commit a11d9f02c3
+1 -1
View File
@@ -211,7 +211,7 @@ module.exports = class Util {
return false;
}
static async pickWhenMany(msg, arr, defalt, arrListFunc, { time = 30000 }) {
static async pickWhenMany(msg, arr, defalt, arrListFunc, { time = 30000 } = {}) {
const resultsList = arr.map(arrListFunc);
await msg.reply(stripIndents`
__**Found ${arr.length} results, which would you like to view?**__