diff options
| author | Nathan Perry <avaglir@gmail.com> | 2019-03-03 22:40:43 -0500 |
|---|---|---|
| committer | Nathan Perry <avaglir@gmail.com> | 2019-03-03 22:40:43 -0500 |
| commit | 553e5b976ceef5430599ab9511f7fb48516375dd (patch) | |
| tree | b2d96bdfa32be508f3e5b4cbafa82b0319f68f4c /src/commands/meme.rs | |
| parent | 5af74af0ca2b5a395a83a32b88c07f7af86b3f65 (diff) | |
separate meme and general queues
Diffstat (limited to 'src/commands/meme.rs')
| -rw-r--r-- | src/commands/meme.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/meme.rs b/src/commands/meme.rs index 8cdb062..9b77bd2 100644 --- a/src/commands/meme.rs +++ b/src/commands/meme.rs @@ -405,7 +405,7 @@ fn send_meme(ctx: &Context, t: &Meme, conn: &PgConnection, msg: &Message) -> Res let queue_lock = ctx.data.lock().get::<PlayQueue>().cloned().unwrap(); let mut play_queue = queue_lock.write().unwrap(); - play_queue.queue.push_front(PlayArgs{ + play_queue.meme_queue.push_back(PlayArgs{ initiator: msg.author.name.clone(), data: ::either::Right(audio.data.clone()), sender_channel: msg.channel_id, |
