From f11a5ae72e7c3be7575761dde9669f2d93e67b59 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Wed, 10 Apr 2019 01:56:47 -0400 Subject: write meme `query` command --- src/commands/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/commands/mod.rs') diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 3ceb15f..c315278 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -139,6 +139,11 @@ fn register_db(f: StandardFramework) -> StandardFramework { .desc("list stats for all server memers") .cmd(memers) ) + .command("query", |c| c + .guild_only(true) + .desc("find a lot of matching memes") + .cmd(query) + ) } #[cfg(not(feature = "diesel"))] -- cgit v1.3.1