I was trying to create a context menu in my bot and I expected it to be an attribute like [ContextMenu()] same as principle as [SlashCommand()].
This is what I tried:
using Discord;
using Discord.Interactions;
namespace testbot.modules.discord.bot.commands;
public class ContextTest: InteractionModuleBase<SocketInteractionContext>
{
[ContextMenu(ApplicationCommandType.Message, "Greet User")]
public async Task aaaa()
{
await RespondAsync("Meow meow and shi");
}
}

