mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
10 lines
261 B
Python
10 lines
261 B
Python
from nonebot.matcher import Matcher
|
|
|
|
from .utils import ensure_user_info, gen_handle_cancel
|
|
|
|
|
|
def do_del_cookie(del_cookie: type[Matcher]):
|
|
handle_cancel = gen_handle_cancel(del_cookie, "删除中止")
|
|
|
|
del_cookie.handle()(ensure_user_info(del_cookie))
|