Skip to content

Commit

Permalink
feat: 创建临时变量 $t权限等级 (sealdice#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
MX-fox authored Aug 13, 2024
1 parent b17e7ed commit b806446
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dice/im_vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ func SetTempVars(ctx *MsgContext, qqNickname string) {
VarSetValueStr(ctx, "$t规则模板", ctx.Group.System)
VarSetValueStr(ctx, "$tSystem", ctx.Group.System)
VarSetValueStr(ctx, "$t当前记录", ctx.Group.LogCurName)
VarSetValueInt64(ctx, "$t权限等级", int64(ctx.PrivilegeLevel))

var isLogOn int64
if ctx.Group.LogOn {
Expand Down

0 comments on commit b806446

Please sign in to comment.