aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authorFenhl <[email protected]>2017-11-16 15:38:19 +0000
committeralex <[email protected]>2017-11-16 16:38:19 +0100
commitb215457ab46c9d10bf47300d6525f9a2641d3b17 (patch)
treee65f84647996e70f937a359bf6b44e8364978a9b /src/framework
parentChange most of the framework to use trait-based-commands (diff)
downloadserenity-b215457ab46c9d10bf47300d6525f9a2641d3b17.tar.xz
serenity-b215457ab46c9d10bf47300d6525f9a2641d3b17.zip
Document that application owners bypass checks (#218)
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/create_command.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/framework/standard/create_command.rs b/src/framework/standard/create_command.rs
index 4ba0106..d083300 100644
--- a/src/framework/standard/create_command.rs
+++ b/src/framework/standard/create_command.rs
@@ -26,6 +26,8 @@ impl CreateCommand {
/// Adds a "check" to a command, which checks whether or not the command's
/// function should be called.
///
+ /// These checks are bypassed for commands sent by the application owner.
+ ///
/// # Examples
///
/// Ensure that the user who created a message, calling a "ping" command,