Table of Contents
API reference

Method WithLifespan

Namespace
DisCatSharp.CommandsNext.Builders
Assembly
DisCatSharp.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.