From a39647d3ba1650a4dd4c92bd40001959828000c7 Mon Sep 17 00:00:00 2001 From: Illia Date: Wed, 14 Dec 2016 17:19:16 +0300 Subject: Framework blocks, disabled commands, improvements --- examples/06_command_framework/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/06_command_framework/src') diff --git a/examples/06_command_framework/src/main.rs b/examples/06_command_framework/src/main.rs index e89308f..c9191a8 100644 --- a/examples/06_command_framework/src/main.rs +++ b/examples/06_command_framework/src/main.rs @@ -80,6 +80,8 @@ fn main() { let counter = data.get_mut::().unwrap(); let entry = counter.entry(command_name.clone()).or_insert(0); *entry += 1; + + true }) // Very similar to `before`, except this will be called directly _after_ // command execution. -- cgit v1.2.3