summaryrefslogtreecommitdiff
path: root/AyaBot/plugins/other.py
diff options
context:
space:
mode:
Diffstat (limited to 'AyaBot/plugins/other.py')
-rw-r--r--AyaBot/plugins/other.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/AyaBot/plugins/other.py b/AyaBot/plugins/other.py
index c5dda41..a75bd14 100644
--- a/AyaBot/plugins/other.py
+++ b/AyaBot/plugins/other.py
@@ -1,7 +1,9 @@
import os
+import jieba
import random
import nonebot
from nonebot import on_command, CommandSession, permission as perm, on_request
+from nonebot import on_natural_language, NLPSession, IntentCommand
bot = nonebot.get_bot()
@@ -30,10 +32,6 @@ async def _(session: CommandSession):
async def _(session: CommandSession):
await session.send(str(random.randint(1,6)))
-@on_command('?', aliases=['?', '❓'], only_to_me=False)
-async def _(session: CommandSession):
- await session.send('?')
-
@on_command('seach_this_group_p', aliases=['本群总人数', '总人数', '群人数'], only_to_me=False, permission=perm.GROUP)
async def _(session: CommandSession):
try: