summaryrefslogtreecommitdiff
path: root/ATRI/plugins/funny/__init__.py
diff options
context:
space:
mode:
author0w0 <[email protected]>2022-12-29 16:38:27 +0800
committerGitHub <[email protected]>2022-12-29 16:38:27 +0800
commitc0e5f0398bd4c3c55378cff303f31ff968822346 (patch)
treed90bc810150d859c76e64f6e71d8524478014f31 /ATRI/plugins/funny/__init__.py
parent3d857da2ae1984c6abf286b55888d6d3e4c5d823 (diff)
parentbb13b38f862d859007d1d37941f5b5c9d5f38cbc (diff)
downloadATRI-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__.py11
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))