diff options
author | 0w0 <[email protected]> | 2022-12-29 16:38:27 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2022-12-29 16:38:27 +0800 |
commit | c0e5f0398bd4c3c55378cff303f31ff968822346 (patch) | |
tree | d90bc810150d859c76e64f6e71d8524478014f31 /ATRI/plugins/funny/__init__.py | |
parent | 3d857da2ae1984c6abf286b55888d6d3e4c5d823 (diff) | |
parent | bb13b38f862d859007d1d37941f5b5c9d5f38cbc (diff) | |
download | ATRI-c0e5f0398bd4c3c55378cff303f31ff968822346.tar.gz ATRI-c0e5f0398bd4c3c55378cff303f31ff968822346.tar.bz2 ATRI-c0e5f0398bd4c3c55378cff303f31ff968822346.zip |
Merge branch 'main' into main
Diffstat (limited to 'ATRI/plugins/funny/__init__.py')
-rw-r--r-- | ATRI/plugins/funny/__init__.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ATRI/plugins/funny/__init__.py b/ATRI/plugins/funny/__init__.py index 094e569..8b060cc 100644 --- a/ATRI/plugins/funny/__init__.py +++ b/ATRI/plugins/funny/__init__.py @@ -63,14 +63,3 @@ async def _deal_fake( await bot.send_group_forward_msg(group_id=group_id, messages=node) except Exception: await fake_msg.finish("构造失败惹...可能是被制裁了(") - - -eat_what = plugin.on_regex(r"大?[今明后]天(.*?)吃[什啥]么?", "我来决定你吃什么!") - - -@eat_what.handle([Cooldown(15, prompt="慢慢吃,不要贪心哦!")]) -async def _eat_what(event: MessageEvent): - msg = str(event.get_message()) - user_name = event.sender.nickname or "裙友" - eat = await Funny().eat_what(user_name, msg) - await eat_what.finish(Message(eat)) |