Skip to content

Commit

Permalink
default to empty text
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Sep 27, 2024
1 parent da33538 commit 93e905f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -1818,7 +1818,7 @@ async def stickers_to_urls(stickers):
if source == 'discord' and not system:
if len(message.stickers) > 0:
stickertext = '\n'.join(await stickers_to_urls(message.stickers))
if (len(message.content) > 0 or len(content_override) > 0) and len(stickertext) > 0:
if (len(message.content) > 0 or len(content_override if not content_override is None else '') > 0) and len(stickertext) > 0:
stickertext = '\n' + stickertext

# Broadcast message
Expand Down

0 comments on commit 93e905f

Please sign in to comment.