Hello.
I had a working bot, with working slash commands.
I just switched my test database from a simple json to a proper database in postgresql with EF Core.
That was (I think) the only thing I changed, and it was only a bit structural in some functions.
This is working like it should. No issue.
Now, when I try to invoke a slash command, I end up with this error :
at DSharpPlus.SlashCommands.SlashCommandsExtension.CreateInstance(Type t, IServiceProvider services)
at DSharpPlus.SlashCommands.SlashCommandsExtension.RunCommandAsync(BaseContext context, MethodInfo method, IEnumerable`1 args)```
But nothing changed on this side, and it was working like a charm before.
I still have the same registration method, simple and straightforward.
```cs
var slash = discord.UseSlashCommands(); // (discord being my DiscordClient)
slash.RegisterCommands<UserCommands>();
slash.RegisterCommands<TimerCommands>();```
Now, no slash commands are working anymore.
Where could this error come from ? I'm searching since hours, up to no avail.