aboutsummaryrefslogtreecommitdiff
path: root/examples/05_command_framework/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/05_command_framework/src')
-rw-r--r--examples/05_command_framework/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/05_command_framework/src/main.rs b/examples/05_command_framework/src/main.rs
index 6527a93..e68f9d2 100644
--- a/examples/05_command_framework/src/main.rs
+++ b/examples/05_command_framework/src/main.rs
@@ -133,7 +133,7 @@ fn main() {
.bucket("emoji") // Make this command use the "emoji" bucket.
.exec_str(":cat:")
// Allow only administrators to call this:
- .required_permissions(permissions::ADMINISTRATOR))
+ .required_permissions(Permissions::ADMINISTRATOR))
.command("dog", |c| c
.desc("Sends an emoji with a dog.")
.bucket("emoji")