diff options
Diffstat (limited to 'src/framework/standard/create_command.rs')
| -rw-r--r-- | src/framework/standard/create_command.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/framework/standard/create_command.rs b/src/framework/standard/create_command.rs index 200f9f7..3976f6d 100644 --- a/src/framework/standard/create_command.rs +++ b/src/framework/standard/create_command.rs @@ -168,6 +168,14 @@ impl CreateCommand { self } + /// Whether owners shall bypass buckets, missing permissions, + /// wrong channels, missing roles, and checks. + pub fn owner_privileges(mut self, owner_privileges: bool) -> Self { + self.0.owner_privileges = owner_privileges; + + self + } + /// Whether command should be displayed in help list or not, used by other commands. pub fn help_available(mut self, help_available: bool) -> Self { self.0.help_available = help_available; |