aboutsummaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2019-02-17 01:59:22 -0500
committerNathan Perry <avaglir@gmail.com>2019-02-17 01:59:22 -0500
commite9e3458225cfc0fdc20a7d2960ef15d4de349802 (patch)
tree036dbf021aafb2479faae487c9d71f8d1b0f2e43 /src/commands/mod.rs
parent27ab061563de6c7d1b79dccd8585655ef8aa9700 (diff)
support audio memes
Diffstat (limited to 'src/commands/mod.rs')
-rw-r--r--src/commands/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs
index b991c18..d5d91e2 100644
--- a/src/commands/mod.rs
+++ b/src/commands/mod.rs
@@ -88,6 +88,11 @@ fn register_db(f: StandardFramework) -> StandardFramework {
.desc("first argument is title, everything after is text. one attached image is included if present.")
.cmd(addmeme)
)
+ .command("addaudiomeme", |c| c
+ .guild_only(true)
+ .desc("title, audio link, text, with optional image")
+ .cmd(addaudiomeme)
+ )
.command("delmeme", |c| c
.guild_only(true)
.desc("delete a meme by name (exact match only)")