allow tokens to limit a user's rank
This commit is contained in:
parent
a4c816d07c
commit
70b85e5215
8 changed files with 72 additions and 4 deletions
22
locales/index.d.ts
vendored
22
locales/index.d.ts
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue