[−][src]Struct serenity::framework::standard::HelpOptions
Fields
suggestion_text: String
Suggests a command's name.
no_help_available_text: String
If no help is available, this text will be displayed.
usage_label: String
How to use a command, {usage_label}: {command_name} {args}
usage_sample_label: String
Actual sample label, {usage_sample_label}: {command_name} {args}
ungrouped_label: String
Text labeling ungrouped commands, {ungrouped_label}: ...
description_label: String
Text labeling the start of the description.
grouped_label: String
Text labeling grouped commands, {grouped_label} {group_name}: ...
aliases_label: String
Text labeling a command's alternative names (aliases).
guild_only_text: String
Text specifying that a command is only usable in a guild.
dm_only_text: String
Text specifying that a command is only usable in via DM.
dm_and_guild_text: String
Text specifying that a command can be used via DM and in guilds.
available_text: String
Text expressing that a command is available.
command_not_found_text: String
Error-message once a command could not be found.
Output-example (without whitespace between both substitutions: {command_not_found_text}{command_name}
{command_name}
describes user's input as in: {prefix}help {command_name}
.
individual_command_tip: String
Explains the user on how to use access a single command's details.
striked_commands_tip_in_dm: Option<String>
Explains reasoning behind strikethrough-commands, see fields requiring HelpBehaviour
for further information.
If HelpBehaviour::Strike
is unused, this field will evaluate to None
during creation
inside of CreateHelpCommand
.
Note: Text is only used in direct messages.
striked_commands_tip_in_guild: Option<String>
Explains reasoning behind strikethrough-commands, see fields requiring HelpBehaviour
for further information.
If HelpBehaviour::Strike
is unused, this field will evaluate to None
during creation
inside of CreateHelpCommand
.
Note: Text is only used in guilds.
group_prefix: String
Announcing a group's prefix as in: {group_prefix} {prefix}.
lacking_role: HelpBehaviour
If a user lacks required roles, this will treat how these commands will be displayed.
lacking_permissions: HelpBehaviour
If a user lacks permissions, this will treat how these commands will be displayed.
wrong_channel: HelpBehaviour
If a user is using the help-command in a channel where a command is not available, this behaviour will be executed.
embed_error_colour: Colour
Colour help-embed will use upon encountering an error.
embed_success_colour: Colour
Colour help-embed will use if no error occurred.
max_levenshtein_distance: usize
If not 0, help will check whether a command is similar to searched named.
Trait Implementations
impl Default for HelpOptions
[src]
impl Default for HelpOptions
fn default() -> HelpOptions
[src]
fn default() -> HelpOptions
Returns the "default value" for a type. Read more
impl Debug for HelpOptions
[src]
impl Debug for HelpOptions
Auto Trait Implementations
impl Send for HelpOptions
impl Send for HelpOptions
impl Sync for HelpOptions
impl Sync for HelpOptions
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> Erased for T
impl<T> Erased for T
impl<T> Typeable for T where
T: Any,
impl<T> Typeable for T where
T: Any,
impl<T> DebugAny for T where
T: Any + Debug,
[src]
impl<T> DebugAny for T where
T: Any + Debug,
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,