Table of Contents

Method GetCommandsNextAsync

Namespace
DSharpPlus.CommandsNext
Assembly
DSharpPlus.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 DiscordShardedClient

Client to get CommandsNext instances from.

Returns

Task<IReadOnlyDictionary<int, CommandsNextExtension>>

A dictionary of the modules, indexed by shard id.