allow tokens to limit a user's rank

This commit is contained in:
Hazelnoot 2025-06-21 09:46:31 -04:00
parent a4c816d07c
commit 70b85e5215
8 changed files with 72 additions and 4 deletions

22
locales/index.d.ts vendored
View file

@ -13511,6 +13511,28 @@ export interface Locale extends ILocale {
* Permissions
*/
"permissions": string;
/**
* Override rank
*/
"overrideRank": string;
/**
* Overrides the user rank (admin, moderator, or user) for apps using this token.
*/
"overrideRankDescription": string;
"_ranks": {
/**
* Admin
*/
"admin": string;
/**
* Moderator
*/
"mod": string;
/**
* User
*/
"user": string;
};
}
declare const locales: {
[lang: string]: Locale;