💥 remove deprecated nonebot.plugins toml table (#1151)

Feature: 移除过时的 `nonebot.plugins` toml 配置
This commit is contained in:
Ju4tCode
2022-08-16 10:03:37 +08:00
committed by GitHub
parent cdc507bab9
commit 898c29d7ee
8 changed files with 42 additions and 10 deletions

View File

@ -3,5 +3,7 @@ from datetime import datetime, timedelta
from nonebot.matcher import Matcher
test_temp_matcher = Matcher.new("test", temp=True)
test_datetime_matcher = Matcher.new("test", expire_time=datetime.now())
test_datetime_matcher = Matcher.new(
"test", expire_time=datetime.now() - timedelta(seconds=1)
)
test_timedelta_matcher = Matcher.new("test", expire_time=timedelta(seconds=-1))