Skip to content

Commit

Permalink
fix(discord): a single "_" is not an action; just a message (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueBrain authored Jan 18, 2024
1 parent 1f78a2d commit a3320c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dibridge/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def find_emojis(content):
if (
content.startswith("_")
and content.endswith("_")
and len(content) > 2
and "\n" not in content
and len(content) < IRC_MAX_LINE_LENGTH
):
Expand Down

0 comments on commit a3320c6

Please sign in to comment.