aboutsummaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2019-03-03 02:39:24 -0500
committerNathan Perry <avaglir@gmail.com>2019-03-03 02:39:24 -0500
commit83a06bfbd18e4f539b8e42e8e65d719040863100 (patch)
tree93e93db99ee97b75672f714e48fdfd3ce53bde92 /src/commands/mod.rs
parent410596f875111fab3d666a472c61be8869d7f7ec (diff)
record meme invocations
Diffstat (limited to 'src/commands/mod.rs')
-rw-r--r--src/commands/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs
index 8009093..2f18e9f 100644
--- a/src/commands/mod.rs
+++ b/src/commands/mod.rs
@@ -116,6 +116,12 @@ fn register_db(f: StandardFramework) -> StandardFramework {
.desc("get meme stats")
.cmd(stats)
)
+ .command("history", |c| c
+ .known_as("hist")
+ .guild_only(true)
+ .desc("history of recent messages")
+ .cmd(history)
+ )
}
#[cfg(not(feature = "diesel"))]