A DiscordCommandUser is a user context menu command that can be executed on a Discord server.

See

https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-structure

Hierarchy

Constructors

  • Parameters

    • __namedParameters: {
          application_id: string;
          default_member_permissions?: DiscordBitwisePermissionFlags;
          default_permission?: boolean;
          description: string;
          description_localizations?: DiscordLocalesDictionary<string>;
          dm_permission?: boolean;
          guild_id?: string;
          id: string;
          name: string;
          name_localizations?: DiscordLocalesDictionary<string>;
          nsfw?: boolean;
          version: string;
      }
      • application_id: string
      • Optional default_member_permissions?: DiscordBitwisePermissionFlags
      • Optional default_permission?: boolean
      • description: string
      • Optional description_localizations?: DiscordLocalesDictionary<string>
      • Optional dm_permission?: boolean
      • Optional guild_id?: string
      • id: string
      • name: string
      • Optional name_localizations?: DiscordLocalesDictionary<string>
      • Optional nsfw?: boolean
      • version: string

    Returns DiscordCommandUser

Properties

application_id: string
default_member_permissions?: DiscordBitwisePermissionFlags
default_permission?: boolean
description: string
description_localizations?: DiscordLocalesDictionary<string>
dm_permission?: boolean
guild_id?: string
id: string
name: string
name_localizations?: DiscordLocalesDictionary<string>
nsfw?: boolean
type: USER
version: string

Generated using TypeDoc