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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/05_command_framework/src/main.rs b/examples/05_command_framework/src/main.rs
index a5494f0..483d143 100644
--- a/examples/05_command_framework/src/main.rs
+++ b/examples/05_command_framework/src/main.rs
@@ -208,8 +208,8 @@ fn main() {
// User needs to pass the test for the command to execute.
.check(admin_check)
.command("am i admin", |c| c
- .cmd(am_i_admin))
- .guild_only(true)
+ .cmd(am_i_admin)
+ .guild_only(true))
),
);