Skip to content

Commit

Permalink
edit bot methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumap committed Jun 17, 2021
1 parent cec7f12 commit 3cf6ee1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
Collection,
CreateGuildBan,
CreateGuildRole,
StatusUpdate,
CreateMessage,
DiscordBitwisePermissionFlags,
DiscordGatewayIntents,
Expand Down Expand Up @@ -927,6 +928,15 @@ export class Client extends EventEmitter {
compareRoleId
);
}

//EDIT BOT
editBotStatus(data: Omit<StatusUpdate,"afk"|"since">) {
return this.helpers.editBotStatus(data)
}

editBotProfile(data: { username?: string | undefined; botAvatarURL?: string | undefined; }) {
return this.helpers.editBotProfile(data)
}
}

export default Client;

0 comments on commit 3cf6ee1

Please sign in to comment.