diff --git a/modules/twitter_api.py b/modules/twitter_api.py index 96ffdf3..3a92e41 100644 --- a/modules/twitter_api.py +++ b/modules/twitter_api.py @@ -136,7 +136,7 @@ async def process_url(url: str, reply: Reply): print(e) -@bot.on_message(filters.incoming & filters.text & filters.regex(r"twitter.com/")) +@bot.on_message(filters.incoming & filters.text & filters.regex(r"(x|twitter).com/")) async def twitter_share(_: Client, message: Message): if not message.text: return