#Component Interaction isnt working
1 messages · Page 1 of 1 (latest)
Did you setup rest of the interaction framework?
my slashcommands and everything else are working fine
Ah, so you are already using it
yes
im sorry i dont fully understand what youre asking
like
when an interaction is triggered (slash command, button click, etc)
an event is fired
public async Task InitializeAsync()
{
await _commands.AddModulesAsync(assembly: Assembly.GetEntryAssembly(), services: _services);
_client.InteractionCreated += HandleInteractionsAsync;
}
thats my initialization
Is the task with [ComponentInteraction] attribute in a class with [Group] attribute?
yes
yup, this looks fine
So it expects your button id to be group_name button id
set ignoreGroupNames = true in [ComponentInteraction()]
Thank you!
