Skip to content

Commit

Permalink
fix pure
Browse files Browse the repository at this point in the history
  • Loading branch information
sena-nana committed Mar 26, 2023
1 parent b67d75e commit 635948d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nonebot_plugin_novelai/aidraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ async def generate(fifo: AIDRAW):
)
else:
logger.info(f"队列剩余{wait_len()}人 | 生成完毕:{fifo}")
if await config.get_value(fifo.group_id, "pure"):
if config.novelai_pure:
message = MessageSegment.at(fifo.user_id)
for i in im["image"]:
message += i
Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_novelai/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Config(BaseSettings):
# 服务器设置
novelai_token: str = "" # 官网的token
# novelai: dict = {"novelai":""}# 你的服务器地址(包含端口),不包含http头,例:127.0.0.1:6969
novelai_mode: str = "novelai"
novelai_mode: str = "sd"
novelai_site: str = ""
# 后台设置
novelai_save: int = 1 # 是否保存图片至本地,0为不保存,1保存,2同时保存追踪信息
Expand Down
2 changes: 1 addition & 1 deletion nonebot_plugin_novelai/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self):
try:
self.version = version(self.package)
except:
self.version = "0.5.8"
self.version = "0.5.9"

async def check_update(self):
"""检查更新,并推送"""
Expand Down

0 comments on commit 635948d

Please sign in to comment.