Table of Contents

Method WithLifespan

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

WithLifespan(ModuleLifespan)

Lifespan to give this module.

public CommandModuleBuilder WithLifespan(ModuleLifespan lifespan)

Parameters

lifespan ModuleLifespan

Lifespan for this module.

Returns

CommandModuleBuilder

This builder.