Table of Contents

Constructor EventAttribute

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

EventAttribute()

Initializes a new instance of EventAttribute.

public EventAttribute()

EventAttribute(DiscordEvent)

public EventAttribute(DiscordEvent evtn)

Parameters

evtn DiscordEvent

The name of the event.

The attributed method's name will be used if null.