audio/queue/player: rename queue_add to queue_push

This commit is contained in:
2025-02-09 03:35:41 -05:00
parent 69f4d6967f
commit 97f4787b39
2 changed files with 4 additions and 4 deletions

View File

@@ -165,9 +165,9 @@ async def queue_or_play(message, edited=False):
queued = audio.queue.Song(player, message)
if args.now or args.next:
players[message.guild.id].queue_add_front(queued)
players[message.guild.id].queue_push_front(queued)
else:
players[message.guild.id].queue_add(queued)
players[message.guild.id].queue_push(queued)
if not message.guild.voice_client:
await utils.reply(message, "unexpected disconnect from voice channel!")