From b806446b0c8ed9af550fe68204a114e73f327b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9A=AE=E6=98=9F?= <106176511+MX-fox@users.noreply.github.com> Date: Tue, 13 Aug 2024 20:30:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=9B=E5=BB=BA=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E5=8F=98=E9=87=8F=20`$t=E6=9D=83=E9=99=90=E7=AD=89=E7=BA=A7`?= =?UTF-8?q?=20(#1003)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dice/im_vars.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dice/im_vars.go b/dice/im_vars.go index f93841eb..7474ddd5 100644 --- a/dice/im_vars.go +++ b/dice/im_vars.go @@ -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 {