From ba6902aefe0afcd072a63d5efe441e0715324c99 Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Wed, 15 May 2024 13:02:09 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9nocost=E4=B8=BAunlimitedusage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/Api/AIToolboxBot/ApiUserInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Api/AIToolboxBot/ApiUserInfo.php b/includes/Api/AIToolboxBot/ApiUserInfo.php index 4a6d8f1..5c9e14f 100644 --- a/includes/Api/AIToolboxBot/ApiUserInfo.php +++ b/includes/Api/AIToolboxBot/ApiUserInfo.php @@ -71,7 +71,7 @@ class ApiUserInfo extends ApiBase { 'realname' => $user->getRealName(), // 'nickname' => $userOptionsLookup->getOption($user, 'nickname'), 'email' => $user->getEmail(), - 'nocost' => false + 'unlimitedusage' => false ]; // Get user points from IsekaiUserPoints @@ -87,7 +87,7 @@ class ApiUserInfo extends ApiBase { } if ($user->isAllowed('aitoolbox-unlimited')) { - $userInfo['nocost'] = true; + $userInfo['unlimitedusage'] = true; } // Get user avatar