diff options
Diffstat (limited to 'examples/06_command_framework/src')
| -rw-r--r-- | examples/06_command_framework/src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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::<CommandCounter>().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. |