aboutsummaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2019-03-30 05:23:54 -0400
committerNathan Perry <avaglir@gmail.com>2019-03-30 05:23:54 -0400
commite7e2daa560af199bd005a8526ebcf7ff4441e3ea (patch)
treeb54be3956efa77ed729e0940e82b258798062a58 /src/commands/mod.rs
parenta6f5334f984531cf2304b6333b138944517d3703 (diff)
add rarememe command
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 6596a32..74e6e3f 100644
--- a/src/commands/mod.rs
+++ b/src/commands/mod.rs
@@ -128,6 +128,12 @@ fn register_db(f: StandardFramework) -> StandardFramework {
.desc("history of recent messages")
.cmd(history)
)
+ .command("rarememe", |c| c
+ .known_as("rare_meme")
+ .guild_only(true)
+ .desc("deliver an underutilized meme")
+ .cmd(rare_meme)
+ )
}
#[cfg(not(feature = "diesel"))]