Skip to content

Commit

Permalink
scalar requests are always an object, even if they contain nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Jun 18, 2024
1 parent b00beb9 commit bdce49c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alexBot/cogs/mudae.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ async def message_series_detector(self, message: discord.Message):
matches = await session.scalars(
sqlalchemy.select(db.MudaeSeriesRequest).where(db.MudaeSeriesRequest.series == series_name)
)
if matches:
mentions = [f"<@{match.requestedBy}>" for match in matches]
mentions = [f"<@{match.requestedBy}>" for match in matches]
if mentions:
await msg.reply(
f"Series Liked by {', '.join(mentions)}", allowed_mentions=discord.AllowedMentions(users=True)
)
Expand Down

0 comments on commit bdce49c

Please sign in to comment.