Method WithLifespan
- Namespace
- DSharpPlus.CommandsNext.Builders
- Assembly
- DSharpPlus.CommandsNext.dll
WithLifespan(ModuleLifespan)
Lifespan to give this module.
public CommandModuleBuilder WithLifespan(ModuleLifespan lifespan)
Parameters
lifespan
ModuleLifespanLifespan for this module.
Returns
- CommandModuleBuilder
This builder.