fix: modlog not showing text on approve

This commit is contained in:
Mar0xy 2023-10-18 21:24:34 +02:00
parent 887f422511
commit 07b72c65b9
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
4 changed files with 6 additions and 0 deletions

View File

@ -2151,6 +2151,7 @@ _moderationLogTypes:
updateRole: "Role updated"
assignRole: "Assigned to role"
unassignRole: "Removed from role"
approve: "Approved"
suspend: "Suspended"
unsuspend: "Unsuspended"
addCustomEmoji: "Custom emoji added"

1
locales/index.d.ts vendored
View File

@ -2300,6 +2300,7 @@ export interface Locale {
"updateRole": string;
"assignRole": string;
"unassignRole": string;
"approve": string;
"suspend": string;
"unsuspend": string;
"addCustomEmoji": string;

View File

@ -2213,6 +2213,7 @@ _moderationLogTypes:
updateRole: "ロールを更新"
assignRole: "ロールへアサイン"
unassignRole: "ロールのアサイン解除"
approve: "承認済み"
suspend: "凍結"
unsuspend: "凍結解除"
addCustomEmoji: "カスタム絵文字追加"

View File

@ -619,6 +619,9 @@ export type ModerationLog = {
} & ({
type: 'updateServerSettings';
info: ModerationLogPayloads['updateServerSettings'];
} | {
type: 'approve';
info: ModerationLogPayloads['approve'];
} | {
type: 'suspend';
info: ModerationLogPayloads['suspend'];