diff --git a/Catalogger.Backend/Bot/Commands/KeyRoleCommands.cs b/Catalogger.Backend/Bot/Commands/KeyRoleCommands.cs index 67d3ab8..b1ddca8 100644 --- a/Catalogger.Backend/Bot/Commands/KeyRoleCommands.cs +++ b/Catalogger.Backend/Bot/Commands/KeyRoleCommands.cs @@ -76,7 +76,10 @@ public class KeyRoleCommands( [Command("add")] [Description("Add a new key role.")] public async Task AddKeyRoleAsync( - [Description("The role to add.")] [DiscordTypeHint(TypeHint.Role)] Snowflake roleId + [Option("role")] + [Description("The role to add.")] + [DiscordTypeHint(TypeHint.Role)] + Snowflake roleId ) { var (_, guildId) = contextInjection.GetUserAndGuild(); @@ -98,7 +101,10 @@ public class KeyRoleCommands( [Command("remove")] [Description("Remove a key role.")] public async Task RemoveKeyRoleAsync( - [Description("The role to remove.")] [DiscordTypeHint(TypeHint.Role)] Snowflake roleId + [Option("role")] + [Description("The role to remove.")] + [DiscordTypeHint(TypeHint.Role)] + Snowflake roleId ) { var (_, guildId) = contextInjection.GetUserAndGuild(); diff --git a/Catalogger.Backend/Bot/Commands/WatchlistCommands.cs b/Catalogger.Backend/Bot/Commands/WatchlistCommands.cs index dc05f96..b47a583 100644 --- a/Catalogger.Backend/Bot/Commands/WatchlistCommands.cs +++ b/Catalogger.Backend/Bot/Commands/WatchlistCommands.cs @@ -47,7 +47,10 @@ public class WatchlistCommands( { [Command("add")] [Description("Add a user to the watchlist.")] - public async Task AddAsync(IUser user, string reason) + public async Task AddAsync( + [Description("The user to add")] IUser user, + [Description("The reason for adding this user to the watchlist")] string reason + ) { var (userId, guildId) = contextInjectionService.GetUserAndGuild(); @@ -59,7 +62,7 @@ public class WatchlistCommands( [Command("remove")] [Description("Remove a user from the watchlist.")] - public async Task RemoveAsync(IUser user) + public async Task RemoveAsync([Description("The user to remove")] IUser user) { var (userId, guildId) = contextInjectionService.GetUserAndGuild(); if (!await watchlistRepository.RemoveEntryAsync(guildId, user.ID))