Table of Contents

Class CommandModuleBuilder

Namespace
DSharpPlus.CommandsNext.Builders
Assembly
DSharpPlus.CommandsNext.dll

Represents an interface to build a command module.

public sealed class CommandModuleBuilder
Inheritance
CommandModuleBuilder

Constructors

CommandModuleBuilder()

Creates a new command module builder.

Properties

Lifespan

Gets the lifespan for the built module.

Type

Gets the type this build will construct a module out of.

Methods

WithLifespan(ModuleLifespan)

Lifespan to give this module.

WithType(Type)

Sets the type this builder will construct a module out of.