aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2019-02-21 00:40:46 -0500
committerNathan Perry <avaglir@gmail.com>2019-02-21 00:40:46 -0500
commit333467738dcfcbe5df4ed68a0562fb81b7c2c3ac (patch)
tree3ac8c4bedf777c67fb7307476169b7e080740166
parent7e7a797d839787f83c6fb27bbfce1b0787ff2aa0 (diff)
should_audio only depends on whether users are listening
-rw-r--r--src/commands/meme.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/meme.rs b/src/commands/meme.rs
index d7b082b..a1b0671 100644
--- a/src/commands/meme.rs
+++ b/src/commands/meme.rs
@@ -251,7 +251,7 @@ pub fn renamememe(_: &mut Context, msg: &Message, _: Args) -> Result<()> {
fn rand_meme(ctx: &Context, message: &Message, audio_only: bool) -> Result<()> {
let conn = connection()?;
- let should_audio = ctx.currently_playing() && ctx.users_listening()?;
+ let should_audio = ctx.users_listening()?;
let mem = if audio_only {
db_rand_audio_meme(&conn)
} else {