Table of Contents

Class ModuleLifespanAttribute

Namespace
DSharpPlus.CommandsNext.Attributes
Assembly
DSharpPlus.CommandsNext.dll

Defines a lifespan for this command module.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class ModuleLifespanAttribute : Attribute
Inheritance
object
Attribute
ModuleLifespanAttribute

Constructors

ModuleLifespanAttribute(ModuleLifespan)

Defines a lifespan for this command module.

Properties

Lifespan

Gets the lifespan defined for this module.