Fix message on twitter unfollow, closes #85

This commit is contained in:
Zeva Rose 2021-09-26 20:54:20 -06:00
parent 2ea49f802d
commit 1cacb2979a

View file

@ -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: