diff options
Diffstat (limited to 'src/commands/mod.rs')
| -rw-r--r-- | src/commands/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 5dd98d8..4619a5a 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -60,6 +60,11 @@ pub fn register_commands(f: StandardFramework) -> StandardFramework { .desc("simulate rolling dice") .guild_only(true) .exec(roll::roll)) + .command("debug_expr", |c| c + .desc("debug calculator expression") + .owners_only(true) + .exec(roll::debug_expr) + ) .unrecognised_command(|ctx, msg, unrec| { let url = match msg.content.split_whitespace().skip(1).next() { Some(x) if x.starts_with("http") => x, |
