fix JSDoc

This commit is contained in:
Fishuke 2020-12-29 00:44:51 +03:00
parent 61531e2349
commit 36e174a50a

View file

@ -164,7 +164,7 @@ export class Member extends Base {
/** /**
* Bans the Member. * Bans the Member.
* @param reason Reason for the Ban. * @param reason Reason for the Ban.
* @param deleteMessagesDays Delete Old Messages? If yes, how much days. * @param deleteOldMessages Delete Old Messages? If yes, how much days.
*/ */
async ban(reason?: string, deleteOldMessages?: number): Promise<void> { async ban(reason?: string, deleteOldMessages?: number): Promise<void> {
return this.guild.bans.add(this.id, reason, deleteOldMessages) return this.guild.bans.add(this.id, reason, deleteOldMessages)