aboutsummaryrefslogtreecommitdiff
path: root/examples/05_command_framework/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-09-24 16:14:12 -0700
committerZeyla Hellyer <[email protected]>2017-09-24 16:14:12 -0700
commit5aaca63f9b2974f312e68adf6cb18bdadbdbb148 (patch)
treeb261633008490455f4ffc28ac4e55e2c82b3635a /examples/05_command_framework/src
parentAdd a shard manager (diff)
downloadserenity-5aaca63f9b2974f312e68adf6cb18bdadbdbb148.tar.xz
serenity-5aaca63f9b2974f312e68adf6cb18bdadbdbb148.zip
Fix tests and example 05
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")