summaryrefslogtreecommitdiff
path: root/AyaBot/plugins/awsl.py
diff options
context:
space:
mode:
Diffstat (limited to 'AyaBot/plugins/awsl.py')
-rw-r--r--AyaBot/plugins/awsl.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/AyaBot/plugins/awsl.py b/AyaBot/plugins/awsl.py
index c476d59..2916d8c 100644
--- a/AyaBot/plugins/awsl.py
+++ b/AyaBot/plugins/awsl.py
@@ -1,14 +1,19 @@
+import random
from nonebot import on_command, CommandSession
-@on_command('阿这')
+@on_command('阿这', only_to_me=False)
async def _(session: CommandSession):
await session.send('阿这')
-@on_command('喵', aliases=['喵喵', '喵喵喵'])
+@on_command('喵', aliases=['喵喵', '喵喵喵'], only_to_me=False)
async def _(session: CommandSession):
await session.send('喵~')
-@on_command('奶宝', aliases=['@๑ ^ ₃•๑', '奶够翘'])
+@on_command('奶宝', aliases=['@๑ ^ ₃•๑', '奶够翘'], only_to_me=False)
async def _(session: CommandSession):
await session.send('别叫了别叫了,8在')
+
+@on_command('抽签', only_to_me=False)
+async def _(session: CommandSession):
+ await session.send(str(random.choice(['大凶', '小凶', '凶', '吉', '小吉', '中吉', '大吉']))) \ No newline at end of file