From 1cacb2979a09c6a354ee91ad10b36b2d0728f97e Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Sun, 26 Sep 2021 20:54:20 -0600 Subject: [PATCH] Fix message on twitter unfollow, closes #85 --- jarvis/cogs/twitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/cogs/twitter.py b/jarvis/cogs/twitter.py index 32768ce..8751a08 100644 --- a/jarvis/cogs/twitter.py +++ b/jarvis/cogs/twitter.py @@ -133,7 +133,7 @@ class TwitterCog(commands.Cog): for row in components: for component in row["components"]: component["disabled"] = True - block = "\n".join(x.handle for x in Twitter.objects(guild=ctx.guild.id)) + block = "\n".join(x.handle for x in context.selected_options) await context.edit_origin(content=f"Unfollowed the following:\n```\n{block}\n```", components=components) except asyncio.TimeoutError: for row in components: