From 674998525ed2c3171ee52146cb5d7a77d5a8439a Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Mon, 25 May 2026 17:46:30 -0400 Subject: [PATCH] refactor(commands/voice/queue): tweak variable names --- errornocord/commands/voice/queue.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/errornocord/commands/voice/queue.py b/errornocord/commands/voice/queue.py index 9bf7740..b915dd6 100644 --- a/errornocord/commands/voice/queue.py +++ b/errornocord/commands/voice/queue.py @@ -203,21 +203,21 @@ async def queue_or_play(message, edited=False): natural=True, ) - def embed(description): - e = disnake.Embed( + def create_embed(description): + embed = disnake.Embed( description=description, color=EMBED_COLOR, ) if formatted_duration and len(players[message.guild.id].queue) > 1: - e.set_footer(text=f"{formatted_duration} in total") - return e + embed.set_footer(text=f"{formatted_duration} in total") + return embed await disnake_paginator.ButtonPaginator( invalid_user_function=utils.invalid_user_handler, color=EMBED_COLOR, segments=list( map( - embed, + create_embed, [ "\n\n".join( [