remove unnecessary default

This commit is contained in:
Pedro Lopez
2021-10-29 23:25:06 -04:00
parent 06107af67d
commit 353af130d0

View File

@@ -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);
}