Table of Contents

Constructor ApplicationCommandModuleLifespanAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

ApplicationCommandModuleLifespanAttribute(ApplicationCommandModuleLifespan)

Defines this application command module's lifespan.

public ApplicationCommandModuleLifespanAttribute(ApplicationCommandModuleLifespan lifespan)

Parameters

lifespan ApplicationCommandModuleLifespan

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