[][src]Trait serenity::framework::standard::CommonOptions

pub trait CommonOptions {
    pub fn required_permissions(&self) -> &Permissions;
pub fn allowed_roles(&self) -> &'static [&'static str];
pub fn checks(&self) -> &'static [&'static Check];
pub fn only_in(&self) -> OnlyIn;
pub fn help_available(&self) -> bool;
pub fn owners_only(&self) -> bool;
pub fn owner_privilege(&self) -> bool; }

Required methods

pub fn required_permissions(&self) -> &Permissions[src]

pub fn allowed_roles(&self) -> &'static [&'static str][src]

pub fn checks(&self) -> &'static [&'static Check][src]

pub fn only_in(&self) -> OnlyIn[src]

pub fn help_available(&self) -> bool[src]

pub fn owners_only(&self) -> bool[src]

pub fn owner_privilege(&self) -> bool[src]

Loading content...

Implementors

impl<'_> CommonOptions for &'_ CommandOptions[src]

impl<'_> CommonOptions for &'_ GroupOptions[src]

Loading content...