From 83a06bfbd18e4f539b8e42e8e65d719040863100 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Sun, 3 Mar 2019 02:39:24 -0500 Subject: record meme invocations --- src/commands/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/commands/mod.rs') 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"))] -- cgit v1.3.1