mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
+1
-1
@@ -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?**__
|
||||
|
||||
Reference in New Issue
Block a user