Table of Contents

Namespace DSharpPlus.Commands.ContextChecks

Classes

ContextCheckAttribute
ContextCheckFailedData

Represents data for when a context check fails execution.

DirectMessageUsageAttribute
RequireApplicationOwnerAttribute
RequireGuildAttribute
RequireNsfwAttribute
RequirePermissionsAttribute
UnconditionalCheckAttribute

Represents a type for checks to register against that will always be executed, whether the attribute is present or not.

Structs

ContextCheckMapEntry

Represents an entry in a map of attributes to check types. we can't just do this as a dictionary because one attribute may key multiple different checks.

Interfaces

IContextCheck

Marker interface for context checks, use IContextCheck<TAttribute> instead.

IContextCheck<TAttribute>

Represents a base interface for context checks to implement.

Enums

DirectMessageUsage