aboutsummaryrefslogtreecommitdiff
path: root/examples/06_command_framework.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/06_command_framework.rs')
-rw-r--r--examples/06_command_framework.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/06_command_framework.rs b/examples/06_command_framework.rs
index 21b8539..1bd3ffd 100644
--- a/examples/06_command_framework.rs
+++ b/examples/06_command_framework.rs
@@ -28,6 +28,7 @@ fn main() {
client.with_framework(|f| f
.configure(|c| c
.on_mention(true)
+ .allow_whitespace(true)
.prefix("~"))
.on("ping", ping_command)
.set_check("ping", owner_check) // Ensure only the owner can run this