mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🐛 Fix gacha_log
pay_log
command filter
This commit is contained in:
parent
ee65500c3a
commit
c501605273
@ -216,7 +216,7 @@ class GachaLogPlugin(Plugin.Conversation, BasePlugin.Conversation):
|
||||
return ConversationHandler.END
|
||||
|
||||
@conversation.state(state=INPUT_URL)
|
||||
@handler.message(filters=~filters.COMMAND, block=False)
|
||||
@handler.message(filters=filters.TEXT & ~filters.COMMAND, block=False)
|
||||
@restricts()
|
||||
@error_callable
|
||||
async def import_data_from_message(self, update: Update, _: CallbackContext) -> int:
|
||||
|
@ -119,7 +119,7 @@ class PayLogPlugin(Plugin.Conversation, BasePlugin.Conversation):
|
||||
return ConversationHandler.END
|
||||
|
||||
@conversation.state(state=INPUT_URL)
|
||||
@handler.message(filters=~filters.COMMAND, block=False)
|
||||
@handler.message(filters=filters.TEXT & ~filters.COMMAND, block=False)
|
||||
@restricts()
|
||||
@error_callable
|
||||
async def import_data_from_message(self, update: Update, _: CallbackContext) -> int:
|
||||
|
Loading…
Reference in New Issue
Block a user