summaryrefslogtreecommitdiff
path: root/ATRI/plugins/repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins/repo.py')
-rw-r--r--ATRI/plugins/repo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ATRI/plugins/repo.py b/ATRI/plugins/repo.py
index fe92a3f..561e20b 100644
--- a/ATRI/plugins/repo.py
+++ b/ATRI/plugins/repo.py
@@ -5,8 +5,8 @@ from nonebot.params import CommandArg, ArgPlainText
from nonebot.adapters.onebot.v11 import Bot, MessageEvent, Message
from nonebot.adapters.onebot.v11.helpers import Cooldown
+from ATRI import conf
from ATRI.service import Service
-from ATRI.config import BotSelfConfig
from ATRI.message import MessageBuilder
@@ -44,7 +44,7 @@ async def _deal_repo(
user_id = event.get_user_id()
repo_0 = _REPO_FORMAT.format(user=user_id, msg=repo_msg)
- for superuser in BotSelfConfig.superusers:
+ for superuser in conf.BotConfig.superusers:
try:
await bot.send_private_msg(user_id=superuser, message=repo_0)
except Exception: