Method GetCommandsNextAsync
- Namespace
- DisCatSharp.CommandsNext
- Assembly
- DisCatSharp.CommandsNext.dll
GetCommandsNextAsync(DiscordShardedClient)
Gets the active CommandsNext modules for all shards in this client.
public static Task<IReadOnlyDictionary<int, CommandsNextExtension>> GetCommandsNextAsync(this DiscordShardedClient client)
Parameters
client
DiscordShardedClientClient to get CommandsNext instances from.
Returns
- Task<IReadOnlyDictionary<int, CommandsNextExtension>>
A dictionary of the modules, indexed by shard id.