client.Logger.LogCritical(CommandsNextEvents.Intents,"The CommandsNext extension is registered but there are no message intents enabled. It is highly recommended to enable them.");
client.Logger.LogCritical(CommandsNextEvents.Intents,"The CommandsNext extension is registered but the guilds intent is not enabled. It is highly recommended to enable it.");
varcnext=newCommandsNextExtension(cfg);
client.AddExtension(cnext);
returncnext;
}
/// <summary>
/// Enables CommandsNext module on all shards in this <see cref="DiscordShardedClient"/>.
/// </summary>
/// <param name="client">Client to enable CommandsNext for.</param>
/// <param name="cfg">CommandsNext configuration to use.</param>
/// <returns>A dictionary of created <see cref="CommandsNextExtension"/>, indexed by shard id.</returns>