Skip to content

Commit

Permalink
fix: typo in subcommand name
Browse files Browse the repository at this point in the history
  • Loading branch information
tinarskii committed Nov 11, 2022
1 parent 549a963 commit 0d36485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/Moderation Category/role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class RoleCommand {
});
}

@Slash({ name: "remvoe", description: "Give a role from a user" })
@Slash({ name: "remove", description: "Give a role from a user" })
@Guard(PermissionGuard(["ManageRoles"]))
async remove(
@SlashOption({
Expand Down Expand Up @@ -104,7 +104,7 @@ export class RoleCommand {
embeds: [
new EmbedBuilder()
.setTitle("Role removed successfully")
.setDescription(`Successfully removed <@&${role}> from <@${user.id}>`)
.setDescription(`Successfully removed ${role} from <@${user.id}>`)
.setColor(Colors.Green)
.setFooter({
text: `Requested by ${interaction.user.tag}`,
Expand Down

0 comments on commit 0d36485

Please sign in to comment.