From 5d4211c7151a25246611fcf42a437c4418cb8e8a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 2 Aug 2021 18:29:32 -0400 Subject: [PATCH] Fix --- structures/Client.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/structures/Client.js b/structures/Client.js index 7921e3f8..59114670 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -38,7 +38,10 @@ module.exports = class XiaoClient extends CommandClient { }); this.fonts = new Collection(); this.redis = Redis ? Redis.db : null; - this.webhook = new WebhookClient(XIAO_WEBHOOK_ID, XIAO_WEBHOOK_TOKEN, { disableMentions: 'everyone' }); + this.webhook = new WebhookClient( + { id: XIAO_WEBHOOK_ID, token: XIAO_WEBHOOK_TOKEN }, + { disableMentions: 'everyone' } + ); this.timers = new TimerManager(this); this.botList = new BotList(this); this.pokemon = new PokemonStore();