diff --git a/main.py b/main.py index 73f1d18..70564fc 100644 --- a/main.py +++ b/main.py @@ -35,7 +35,7 @@ async def on_message(message: discord.Message): if ( match := re.search( - r"(?Phttps?://(?:www\.)?pixiv.net/\w+/artworks/(?P\d+))", + r"(?Phttps?://(?:www\.)?pixiv.net/(?:\w+/)?artworks/(?P\d+))", message.content, ) ) is not None: