mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-17 19:40:44 +00:00
add matcher expire support
This commit is contained in:
@ -2,3 +2,4 @@ DRIVER=nonebot.drivers.fastapi
|
||||
HOST=0.0.0.0
|
||||
PORT=2333
|
||||
DEBUG=true
|
||||
CUSTOM_CONFIG={"custom": 1}
|
||||
|
@ -4,7 +4,7 @@
|
||||
from nonebot.rule import Rule
|
||||
from nonebot.event import Event
|
||||
from nonebot.plugin import on_message
|
||||
from nonebot.adapters.coolq import Message
|
||||
from nonebot.adapters.cqhttp import Message
|
||||
|
||||
print(repr(Message("asdfasdf[CQ:at,qq=123][CQ:at,qq=all]")))
|
||||
|
||||
|
Reference in New Issue
Block a user