We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c55993a commit 04b5d64Copy full SHA for 04b5d64
src/main/typescript/commands/information/ProfileCommand.ts
@@ -186,6 +186,8 @@ class ProfileCommand extends Command {
186
if (member) {
187
if (member.guild.ownerId === member.id) {
188
badges.push(`${emoji(this.application, "owner") || ""} Server Owner`);
189
+ } else if (member.permissions.has(PermissionFlagsBits.Administrator)) {
190
+ badges.push(`${emoji(this.application, "moderator") || ""} Server Administrator`);
191
} else if (await this.permissionManagerService.isModerator(member)) {
192
badges.push(`${emoji(this.application, "moderator") || ""} Server Moderator`);
193
}
0 commit comments