mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-07 04:40:00 +08:00
修复我的签到签到图片
This commit is contained in:
@@ -6,6 +6,7 @@ from nonebot.adapters.onebot.v11 import GroupMessageEvent, Message
|
||||
from nonebot.adapters.onebot.v11.permission import GROUP
|
||||
from nonebot.params import CommandArg, RegexGroup
|
||||
|
||||
from configs.config import Config
|
||||
from configs.path_config import DATA_PATH
|
||||
from services.log import logger
|
||||
from utils.message_builder import image
|
||||
@@ -76,6 +77,15 @@ __plugin_configs__ = {
|
||||
},
|
||||
}
|
||||
|
||||
Config.add_plugin_config(
|
||||
"send_setu",
|
||||
"INITIAL_SETU_PROBABILITY",
|
||||
0.7,
|
||||
help_="初始色图概率,总概率 = 初始色图概率 + 好感度",
|
||||
default_value=0.7,
|
||||
type=float,
|
||||
)
|
||||
|
||||
|
||||
_file = DATA_PATH / "not_show_sign_rank_user.json"
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user