Skip to content

Commit

Permalink
Merge pull request #12 from lumap/main
Browse files Browse the repository at this point in the history
add UniversityGuild#editBotNickname
  • Loading branch information
Skillz4Killz authored Jun 19, 2021
2 parents c11dd38 + b3a2984 commit df70e43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Structures/UniversityGuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,11 @@ export class UniversityGuild extends Base {
return await this.client.ban(this.id, memberId, options);
}

/** Edits the bot's nickname in this guild. Requires the CHANGE_NICKNAME permission. */
async editBotNickname(nickname: string | null) {
return await this.client.helpers.members.editBotNickname(this.id,nickname)
}

/** Remove the ban for a user. Requires BAN_MEMBERS permission */
async unban(memberId: bigint) {
return await this.client.unban(this.id, memberId);
Expand Down

0 comments on commit df70e43

Please sign in to comment.