🎨 Update set cookies command

This commit is contained in:
洛水居室 2022-11-29 21:15:34 +08:00
parent 6b00edde7c
commit 8331698a7c
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -83,6 +83,7 @@ class SetUserCookies(Plugin.Conversation, BasePlugin.Conversation):
@conversation.entry_point @conversation.entry_point
@handler.command(command="setcookie", filters=filters.ChatType.PRIVATE, block=True) @handler.command(command="setcookie", filters=filters.ChatType.PRIVATE, block=True)
@handler.command(command="setcookies", filters=filters.ChatType.PRIVATE, block=True)
@restricts() @restricts()
@error_callable @error_callable
async def command_start(self, update: Update, context: CallbackContext) -> int: async def command_start(self, update: Update, context: CallbackContext) -> int: