diff --git a/apps/tools.js b/apps/tools.js index 2260dcf..71f82e2 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -2090,7 +2090,7 @@ export class tools extends plugin { return false; } const whiteList = await redisGetKey(REDOS_YUNZAI_WHITELIST); - return whiteList.includes(userId); + return whiteList.includes(userId) || whiteList.includes(userId.toString()); } /**