mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
增加/repo指令
This commit is contained in:
parent
4d3fddd05e
commit
ed29f8ca34
1 changed files with 3 additions and 3 deletions
|
|
@ -61,9 +61,9 @@ async def bot_on_ready():
|
||||||
nai_loong = on_keyword({"奶龙"}, rule=to_me(), priority=1, block=True)
|
nai_loong = on_keyword({"奶龙"}, rule=to_me(), priority=1, block=True)
|
||||||
@nai_loong.handle()
|
@nai_loong.handle()
|
||||||
async def not_nai_loong():
|
async def not_nai_loong():
|
||||||
await nai_loong.finish(message=Message(random.choice(text_list1)))
|
await nai_loong.finish(message=Message(random.choice(text_list_nailoong)))
|
||||||
|
|
||||||
text_list1 = [
|
text_list_nailoong = [
|
||||||
"我是?你是?😨",
|
"我是?你是?😨",
|
||||||
"你才是奶龙😡",
|
"你才是奶龙😡",
|
||||||
"你是奶龙?🤔我是奶龙?😨你才是奶龙!😱",
|
"你是奶龙?🤔我是奶龙?😨你才是奶龙!😱",
|
||||||
|
|
@ -71,7 +71,7 @@ text_list1 = [
|
||||||
"唐",
|
"唐",
|
||||||
]
|
]
|
||||||
|
|
||||||
repository = on_command("repo", rule=to_me(), priority=10)
|
repository = on_command("repo", rule=to_me(), priority=10, block=True)
|
||||||
@repository.handle()
|
@repository.handle()
|
||||||
async def github_repo():
|
async def github_repo():
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue