Skip to content

Commit a97899a

Browse files
2 parents f5e28c4 + 1874fc1 commit a97899a

File tree

1 file changed

+6
-1
lines changed
  • loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/moderation

1 file changed

+6
-1
lines changed

loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/moderation/BanInfoCommand.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ class BanInfoCommand(val loritta: LorittaBot) : SlashCommandDeclarationWrapper {
3131
enableLegacyMessageSupport = true
3232
isGuildOnly = true
3333

34+
alternativeLegacyAbsoluteCommandPaths.apply {
35+
add("checkban")
36+
add("infoban")
37+
}
38+
3439
defaultMemberPermissions = DefaultMemberPermissions.enabledFor(Permission.BAN_MEMBERS)
3540

3641
examples = I18N_PREFIX.Examples
@@ -120,4 +125,4 @@ class BanInfoCommand(val loritta: LorittaBot) : SlashCommandDeclarationWrapper {
120125
return mapOf(options.user to userAndMember)
121126
}
122127
}
123-
}
128+
}

0 commit comments

Comments
 (0)