fix JSDoc
This commit is contained in:
parent
61531e2349
commit
36e174a50a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue