Constructor SlashModuleLifespanAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
SlashModuleLifespanAttribute(SlashModuleLifespan)
Defines this slash command module's lifespan.
public SlashModuleLifespanAttribute(SlashModuleLifespan lifespan)
Parameters
lifespan
SlashModuleLifespanThe lifespan of the module. Module lifespans are transient by default.