Table of Contents

Property ActivityHandlerType

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

ActivityHandlerType

Let's you overwrite the activity handler type set by Discord.

Defaults to DiscordLaunchActivity.

Takes no affect if you use the ApplicationCommandExtension.RegisterEntryPointCommand extension method to register your entry point command.

[Deprecated("ActivityHandlerType is a deprecation candidate. Prefer explicit handler registration via ApplicationCommandsExtension.")]
public ApplicationCommandHandlerType ActivityHandlerType { set; }

Property Value

ApplicationCommandHandlerType