nonebot_plugin_rauthman icon indicating copy to clipboard operation
nonebot_plugin_rauthman copied to clipboard

如何修改 `level` 的默认值

Open KomoriDev opened this issue 2 years ago • 2 comments

KomoriDev avatar Oct 30 '22 04:10 KomoriDev

https://github.com/Lancercmd/nonebot_plugin_rauthman/blob/master/nonebot_plugin_rauthman/RAM.py#L260-L261

            elif not "level" in _groups[f"{group_id}"]:
                return 0

0 改为你需要的 int 值作为默认值

Lancercmd avatar Oct 30 '22 04:10 Lancercmd

请问如何使机器人默认开启所有功能呢

如果我想让机器人默认启用所有功能应怎么做?

KomoriDev avatar Nov 11 '22 11:11 KomoriDev