mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 08:12:14 +08:00
✏️ fix config typo
This commit is contained in:
parent
b5ea66359c
commit
2e2f3eee04
@ -94,7 +94,7 @@ class Config(BaseSetting):
|
|||||||
import nonebot
|
import nonebot
|
||||||
from .config import Config
|
from .config import Config
|
||||||
|
|
||||||
global_config = nonebot.get_bot().config
|
global_config = nonebot.get_driver().config
|
||||||
plugin_config = Config(**global_config.dict())
|
plugin_config = Config(**global_config.dict())
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user