You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated to the latest build and it's fixed but now I'm getting the There is no argument given that corresponds to the required formal parameter 'services' of 'CommandService.AddModulesAsync(Assembly, IServiceProvider)' error, how do I fix it?
As of bb8ebc1, modules are built when added to the CommandService, as well as on command execution. As such, an IServiceProvider is now required for the building phase of modules.
You can resolve this by simply passing in an instance of your IServiceProvider to AddModulesAsync - just as you would in CommandService#ExecuteAsync.
For future reference, questions like this are best suited for our Discord support channel, under discord.gg/discord-api.
I don't know if it's intended but
CategoryChannel.Channels
returns all the channel categories instead of channels inside this categoryI wrote a code wich should show all the categories and channels inside them but it shows the categories inside of a category
foreach (var category in guild.CategoryChannels) { Console.WriteLine(category.Name); foreach (var channel in category.Channels) { Console.WriteLine("\t" + channel.Name + "\t" + channel.Id); } }
The text was updated successfully, but these errors were encountered: