diff options
| author | Nathan Perry <avaglir@gmail.com> | 2019-04-10 01:56:47 -0400 |
|---|---|---|
| committer | Nathan Perry <avaglir@gmail.com> | 2019-04-10 01:57:47 -0400 |
| commit | f11a5ae72e7c3be7575761dde9669f2d93e67b59 (patch) | |
| tree | 55444e618d8a3780db683837006b471162e5fd05 /src/commands/mod.rs | |
| parent | fcf5e989f995484987b3474494a8de5ca23d1633 (diff) | |
write meme `query` command
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 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"))] |
