Skip to content

Commit

Permalink
regex unlocked to accommodate newer servers
Browse files Browse the repository at this point in the history
  • Loading branch information
Tech-TTGames authored Apr 8, 2023
1 parent 7241fc5 commit f209c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tickets_plus/cogs/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ async def on_message(self, message: discord.Message) -> None:
guild = await cnfg.get_guild(message.guild.id)
if guild.msg_discovery:
alpha = re.search(
r"https:\/\/(?:canary\.)?discord\.com\/channels\/(?P<srv>\d{18})\/(?P<cha>\d{18})\/(?P<msg>\d*)", # skipcq: FLK-E501 # pylint: disable=line-too-long
r"https:\/\/(?:canary\.)?discord\.com\/channels\/(?P<srv>\d*)\/(?P<cha>\d*)\/(?P<msg>\d*)", # skipcq: FLK-E501 # pylint: disable=line-too-long
message.content,
)
if alpha:
Expand Down

0 comments on commit f209c8a

Please sign in to comment.