Table of Contents

Property DmPermission

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DmPermission

Gets whether the command can be used in direct messages.

[JsonProperty("dm_permission", NullValueHandling = NullValueHandling.Ignore)]
[DiscordDeprecated("Replaced by AllowedContexts")]
[Obsolete("Replaced by AllowedContexts", true)]
public bool? DmPermission { get; set; }

Property Value

bool?