diff --git a/util/Util.js b/util/Util.js index c515b18f..8e6233cf 100644 --- a/util/Util.js +++ b/util/Util.js @@ -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?**__