From 353af130d036a0c31f5460b4ae85d230e4567cf0 Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Fri, 29 Oct 2021 23:25:06 -0400 Subject: [PATCH] remove unnecessary default --- src/structures/Chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Chat.js b/src/structures/Chat.js index 26d168b..32bb486 100644 --- a/src/structures/Chat.js +++ b/src/structures/Chat.js @@ -150,7 +150,7 @@ class Chat extends Base { * Mutes this chat forever, unless a date is specified * @param {?Date} unmuteDate Date at which the Chat will be unmuted, leave as is to mute forever */ - async mute(unmuteDate = undefined) { + async mute(unmuteDate) { return this.client.muteChat(this.id._serialized, unmuteDate); }