mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ module.exports = class Util {
|
||||
return `[${title}](${url.replace(/\)/g, '%27')}, "${display}")`;
|
||||
}
|
||||
|
||||
static async verify(channel, user, { time = 30000, extraYes = [], extraNo = [] }) {
|
||||
static async verify(channel, user, { time = 30000, extraYes = [], extraNo = [] } = {}) {
|
||||
const filter = res => {
|
||||
const value = res.content.toLowerCase();
|
||||
return (user ? res.author.id === user.id : true)
|
||||
|
||||
Reference in New Issue
Block a user