From 32dda3d99857d493f1aa44062857063236298c82 Mon Sep 17 00:00:00 2001 From: Boyan Date: Mon, 26 May 2025 22:49:05 +0200 Subject: [PATCH] fixxx --- src/cogs/poll.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/cogs/poll.py b/src/cogs/poll.py index 005f0a2..a6cf060 100644 --- a/src/cogs/poll.py +++ b/src/cogs/poll.py @@ -136,16 +136,12 @@ class PollCog(commands.Cog): # End the poll await self._end_poll(message_id, poll_data, passed) - def __result_embed(self, username, passed, creator_id): + def __result_embed(self, username, passed, creator_id,): """Create result embed for poll completion""" title = f"Poll Results for {username}" if passed: - description = "✅" + description = f"✅ <@{creator_id}> The poll passed! Check your DMs for the invite link." color = discord.Color.green() - if invite_url: - description += f" <@{creator_id}> The poll passed! Check your DMs for the invite link." - else: - description += " Manual invite required" else: description = "❌ Invitation denied" color = discord.Color.red()