diff --git a/Cliptok.csproj b/Cliptok.csproj index ea58429f..96a0c0fa 100644 --- a/Cliptok.csproj +++ b/Cliptok.csproj @@ -13,8 +13,8 @@ - - + + diff --git a/Commands/FunCmds.cs b/Commands/FunCmds.cs index 2e5f54ce..e007f3ef 100644 --- a/Commands/FunCmds.cs +++ b/Commands/FunCmds.cs @@ -7,7 +7,7 @@ public class FunCmds [Command("Hug")] [SlashCommandTypes(DiscordApplicationCommandType.UserContextMenu)] [AllowedProcessors(typeof(UserCommandProcessor))] - public async Task Hug(SlashCommandContext ctx, DiscordUser targetUser) + public async Task Hug(UserCommandContext ctx, DiscordUser targetUser) { var user = targetUser; diff --git a/Commands/UserNoteCmds.cs b/Commands/UserNoteCmds.cs index 376a07ec..3b2634a3 100644 --- a/Commands/UserNoteCmds.cs +++ b/Commands/UserNoteCmds.cs @@ -8,7 +8,7 @@ internal class UserNoteCmds [SlashCommandTypes(DiscordApplicationCommandType.UserContextMenu)] [AllowedProcessors(typeof(UserCommandProcessor))] [RequireHomeserverPerm(ServerPermLevel.TrialModerator), RequirePermissions(DiscordPermission.ModerateMembers)] - public async Task ShowNotes(SlashCommandContext ctx, DiscordUser targetUser) + public async Task ShowNotes(UserCommandContext ctx, DiscordUser targetUser) { await ctx.RespondAsync(embed: await UserNoteHelpers.GenerateUserNotesEmbedAsync(targetUser), ephemeral: true); } diff --git a/Commands/UtilityCmds.cs b/Commands/UtilityCmds.cs index a32686d2..55d1ef8d 100644 --- a/Commands/UtilityCmds.cs +++ b/Commands/UtilityCmds.cs @@ -5,7 +5,7 @@ public class UtilityCmds [Command("Show Avatar")] [SlashCommandTypes(DiscordApplicationCommandType.UserContextMenu)] [AllowedProcessors(typeof(UserCommandProcessor))] - public async Task ContextAvatar(SlashCommandContext ctx, DiscordUser targetUser) + public async Task ContextAvatar(UserCommandContext ctx, DiscordUser targetUser) { string avatarUrl = await LykosAvatarMethods.UserOrMemberAvatarURL(targetUser, ctx.Guild); @@ -24,7 +24,7 @@ public async Task ContextAvatar(SlashCommandContext ctx, DiscordUser targetUser) [Command("User Information")] [SlashCommandTypes(DiscordApplicationCommandType.UserContextMenu)] [AllowedProcessors(typeof(UserCommandProcessor))] - public async Task ContextUserInformation(SlashCommandContext ctx, DiscordUser targetUser) + public async Task ContextUserInformation(UserCommandContext ctx, DiscordUser targetUser) { await ctx.RespondAsync(embed: await DiscordHelpers.GenerateUserEmbed(targetUser, ctx.Guild), ephemeral: true); } diff --git a/Commands/WarningCmds.cs b/Commands/WarningCmds.cs index 5bc3cf54..89d04c52 100644 --- a/Commands/WarningCmds.cs +++ b/Commands/WarningCmds.cs @@ -7,7 +7,7 @@ internal class WarningCmds [Command("Show Warnings")] [SlashCommandTypes(DiscordApplicationCommandType.UserContextMenu)] [AllowedProcessors(typeof(UserCommandProcessor))] - public async Task ContextWarnings(SlashCommandContext ctx, DiscordUser targetUser) + public async Task ContextWarnings(UserCommandContext ctx, DiscordUser targetUser) { await ctx.RespondAsync(embed: await WarningHelpers.GenerateWarningsEmbedAsync(targetUser), ephemeral: true); }