Struct prelude::ApplicationCommand
zaun_bot::prelude::ApplicationCommand · Struct
pub struct ApplicationCommand { … }Fields
Section titled “Fields”kind: CommandKind
Section titled “kind: CommandKind”name: String
Section titled “name: String”name_localizations: Vec<Localized>
Section titled “name_localizations: Vec<Localized>”description: String
Section titled “description: String”Empty for user and message commands.
description_localizations: Vec<Localized>
Section titled “description_localizations: Vec<Localized>”options: Vec<CommandEntry>
Section titled “options: Vec<CommandEntry>”default_member_permissions: Option<Permissions>
Section titled “default_member_permissions: Option<Permissions>”Bits the invoker needs in the channel. some(0): owner only; none: everyone.
Trait implementations
Section titled “Trait implementations”Clone, Debug