Table of Contents

Constructor SlashModuleLifespanAttribute

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

SlashModuleLifespanAttribute(SlashModuleLifespan)

Defines this slash command module's lifespan.

public SlashModuleLifespanAttribute(SlashModuleLifespan lifespan)

Parameters

lifespan SlashModuleLifespan

The lifespan of the module. Module lifespans are transient by default.