🎨 Update Wish Simulator command

This commit is contained in:
洛水居室 2022-12-01 10:33:09 +08:00
parent 80b96d4c51
commit 56c8d66215
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -163,7 +163,8 @@ class Gacha(Plugin, BasePlugin):
return gacha_item return gacha_item
@handler(CommandHandler, command="gacha", block=False) @handler(CommandHandler, command="gacha", block=False)
@handler(MessageHandler, filters=filters.Regex("^非首模拟器(.*)"), block=False) @handler(CommandHandler, command="wish", block=False)
@handler(MessageHandler, filters=filters.Regex("^抽卡模拟器(.*)"), block=False)
@restricts(restricts_time=3, restricts_time_of_groups=20) @restricts(restricts_time=3, restricts_time_of_groups=20)
@error_callable @error_callable
async def command_start(self, update: Update, context: CallbackContext) -> None: async def command_start(self, update: Update, context: CallbackContext) -> None: