mirror of
https://github.com/Rongronggg9/SlashBot.git
synced 2025-02-06 17:23:28 +08:00
Update SlashBot.py
This commit is contained in:
parent
a1b6a195c5
commit
49810eb5d9
@ -48,7 +48,7 @@ def reply(update, context):
|
||||
|
||||
updater = Updater(token=Token, use_context=True)
|
||||
dp = updater.dispatcher
|
||||
dp.add_handler(MessageHandler(Filters.regex(r'^\/([^@]+)$'), reply))
|
||||
dp.add_handler(MessageHandler(Filters.regex(parser), reply))
|
||||
|
||||
updater.start_polling()
|
||||
updater.idle()
|
||||
|
Loading…
Reference in New Issue
Block a user