diff --git a/.github/scripts/validate-slash_commands.js b/.github/scripts/validate-slash_commands.js index 4ccfa75..34c8cc1 100644 --- a/.github/scripts/validate-slash_commands.js +++ b/.github/scripts/validate-slash_commands.js @@ -6,6 +6,8 @@ const conversionFile = './bot/languages.json'; let foundErrors = false; +const nonChatInputCommands = ["initialReactor.json"]; + try { const conversionData = fs.readFileSync(conversionFile, 'utf8'); const languageMap = JSON.parse(conversionData); @@ -41,11 +43,11 @@ try { const currentPath = path ? `${path}.${key}` : key; if (typeof value === 'string') { + if (currentPath.endsWith('.description') && value.length > 100) { console.error(`Validation error: ${directory}/${file}: Description exceeds 100 characters at '${currentPath}'`); foundErrors = true; } - if (currentPath.endsWith('.name') && value.match(/^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$/gu) == null) { console.error(`Validation error: ${directory}/${file}: Name does not match regex at '${currentPath}', VALUE: ${value}`); foundErrors = true; @@ -54,23 +56,23 @@ try { console.error(`Validation error: ${directory}/${file}: Key '${currentPath}' must be lowercase`); foundErrors = true; } - + } else if (typeof value === 'object' && value !== null) { checkFields(value, currentPath); } }); } + if (!nonChatInputCommands.includes(file)) { + checkFields(jsonData); - checkFields(jsonData); - - if (jsonData.name && jsonData.name.match(/^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$/gu) == null) { - console.error(`Validation error: ${directory}/${file}: Name does not match regex, VALUE: ${jsonData.name}`); - foundErrors = true; - } else if (jsonData.description && jsonData.description.length > 100) { - console.error(`Validation error: ${directory}/${file}: Description exceeds 100 characters at 'description'`); - foundErrors = true; + if (jsonData.name && jsonData.name.match(/^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$/gu) == null) { + console.error(`Validation error: ${directory}/${file}: Name does not match regex, VALUE: ${jsonData.name}`); + foundErrors = true; + } else if (jsonData.description && jsonData.description.length > 100) { + console.error(`Validation error: ${directory}/${file}: Description exceeds 100 characters at 'description'`); + foundErrors = true; + } } - } catch (err) { console.error(`Error processing ${file}:`, err); foundErrors = true; diff --git a/bot/en_gb/access_token.json b/bot/en_gb/access_token.json new file mode 100644 index 0000000..721f000 --- /dev/null +++ b/bot/en_gb/access_token.json @@ -0,0 +1,4 @@ +{ + "1": "Admin", + "2": "Basic" +} \ No newline at end of file diff --git a/bot/en_gb/command_responses.json b/bot/en_gb/command_responses.json index 749bf97..701a5f0 100644 --- a/bot/en_gb/command_responses.json +++ b/bot/en_gb/command_responses.json @@ -50,10 +50,10 @@ "response-unban": "Unbanned", "response-purge": "Purged {count} messages", - "response-customise-dash": "Customisation settings have moved to our [web dashboard]!", - "response-customise-1": "Log messages up to 2 weeks old, customise logs, and so much more with Quark Pro...", + "response-customise-dash": "Customisation settings have moved to Quark's [web dashboard]!", + "response-customise-1": "Log messages up to 8 weeks old, customise logs, and so much more with Quark Pro...", "response-customise-2": "[UK, US, EU] Click onto my profile to upgrade!", - "response-customise-3": "Or... {proLink}", + "response-customise-3": "See subscriptions... {proLink}", "response-customise-4": "Try out colour customisation for free at {inventoryLink}", "response-case-updated": "Case updated!", @@ -104,6 +104,8 @@ "setserverlog-type-channels-1": "channel events", "setserverlog-type-modlogs-0": "Modlogs", "setserverlog-type-modlogs-1": "modlogs", + "setserverlog-type-quark-0": "Quark Events", + "setserverlog-type-quark-1": "quark events", "setserverlog-spoilers": "Spoilers", "setserverlog-spoilers-0": "Serverlog spoilers set to {result}", "setserverlog-enable-status-updates": "Enable Status Updates!", @@ -158,6 +160,9 @@ "need-to-vote": "Click here to vote", "need-to-vote-footer": "Votes take up to a minute to be registered", + "initialreactors-expired": "expired", + "initialreactors-notfound": "No reactions found", + "configCommand": { "title": "Serverlog Configuration", "selection": "Select a category in the menu to view configuration.", @@ -206,6 +211,10 @@ "title": "Overview", "description": "Overview of main category options" }, + "quarkEvents": { + "title": "Quark Config", + "description": "Changes made to Quark's configuration for this server" + }, "fileEvents": { "title": "Files" } diff --git a/bot/en_gb/gui_constants.json b/bot/en_gb/gui_constants.json index 747102d..993c5e2 100644 --- a/bot/en_gb/gui_constants.json +++ b/bot/en_gb/gui_constants.json @@ -33,5 +33,9 @@ "explicit_content_filter": "Explicit Content Filter", "nsfw_level": "NSFW Level", "premium_progress_bar_enabled": "Progress Bar" + }, + "webhookModificationTypes": { + "name": "Name", + "channel_id": "Channel" } } \ No newline at end of file diff --git a/bot/en_gb/ignore_options.json b/bot/en_gb/ignore_options.json new file mode 100644 index 0000000..197476a --- /dev/null +++ b/bot/en_gb/ignore_options.json @@ -0,0 +1,12 @@ +{ + "ignoreTargets": "Ignore Target Users", + "ignoreExecutors": "Ignore Target Executors", + "specificMessageContent": "Ignore Specific Message Content", + "ignoreChannels": "Ignore Channels", + "ignoreBotExecutors": "Ignore Bot Executors", + "ignoreBotTargets": "Ignore Bot Targets", + "ignoreExecutorRoles": "Ignore Executor Roles", + "ignoreTargetRoles": "Ignore Target Roles", + "ignoreCategories": "Ignore Categories", + "activeIgnore": "Active Ignore" +} \ No newline at end of file diff --git a/bot/en_gb/log_categories.json b/bot/en_gb/log_categories.json new file mode 100644 index 0000000..3279228 --- /dev/null +++ b/bot/en_gb/log_categories.json @@ -0,0 +1,13 @@ +{ + "serverEvents": "Members", + "serverActions": "Actions", + "textEvents": "Messages", + "voiceEvents": "Voice", + "fileEvents": "Files", + "generalEvents": "Server", + "roleEvents": "Roles", + "channelEvents": "Channels", + "quarkEvents": "Quark Config", + "modLog": "Modlogs", + "main": "Main" +} \ No newline at end of file diff --git a/bot/en_gb/log_formats.json b/bot/en_gb/log_formats.json new file mode 100644 index 0000000..7531cd0 --- /dev/null +++ b/bot/en_gb/log_formats.json @@ -0,0 +1,7 @@ +{ + "0": "Standard", + "1": "Compact", + "2": "Standard (no embed)", + "3": "Compact (no embed)", + "4": "json" +} \ No newline at end of file diff --git a/bot/en_gb/slash_commands/dashboard.json b/bot/en_gb/slash_commands/dashboard.json new file mode 100644 index 0000000..36050cd --- /dev/null +++ b/bot/en_gb/slash_commands/dashboard.json @@ -0,0 +1,4 @@ +{ + "name": "dashboard", + "description": "Visit Quark's web dashboard" +} \ No newline at end of file diff --git a/bot/en_gb/slash_commands/initialReactor.json b/bot/en_gb/slash_commands/initialReactor.json new file mode 100644 index 0000000..61bbbbb --- /dev/null +++ b/bot/en_gb/slash_commands/initialReactor.json @@ -0,0 +1,3 @@ +{ + "name": "See initial reactors" +} \ No newline at end of file diff --git a/bot/en_gb/slash_commands/premium.json b/bot/en_gb/slash_commands/premium.json new file mode 100644 index 0000000..5ab0d12 --- /dev/null +++ b/bot/en_gb/slash_commands/premium.json @@ -0,0 +1,4 @@ +{ + "name": "premium", + "description": "Get information about the premium subscriptions Quark has" +} \ No newline at end of file diff --git a/bot/en_gb/standard/channelEvents.json b/bot/en_gb/standard/channelEvents.json index 2f1d621..3ac3e9c 100644 --- a/bot/en_gb/standard/channelEvents.json +++ b/bot/en_gb/standard/channelEvents.json @@ -26,5 +26,37 @@ "description": "{executor} updated permissions for {channel} for {special}", "newPermissions": "New Permissions", "viewFullNewPermissions": "View Full New Permissions" + }, + "webhookCreate": { + "title": "Webhook Created", + "description": "{executor} created a webhook {webhook} in {channel}" + }, + "webhookDelete": { + "title": "Webhook Deleted", + "description": "{executor} deleted the webhook {webhook}" + }, + "webhookUpdate": { + "title": "Webhook Modified", + "description": "{executor} modified the webhook {webhook}" + }, + "webhookAvatarUpdate": { + "title": "Webhook Avatar Updated", + "description": "{executor} updated the avatar for {webhook}", + "description_added": "{executor} added an avatar for {webhook}", + "description_removed": "{executor} removed the avatar for {webhook}", + "linkToOldAvatar": "Link to old avatar", + "linkToNewAvatar": "Link to new avatar" + }, + "statusChannelFollowed": { + "title": "Channel Followed", + "description": "{executor} followed the channel {name} in {channel}" + }, + "statusChannelUnfollowed": { + "title": "Channel Unfollowed", + "description": "{executor} unfollowed the channel {name}" + }, + "statusChannelUpdated": { + "title": "Followed Channel Updated", + "description": "{executor} updated the followed channel {name}" } } \ No newline at end of file diff --git a/bot/en_gb/standard/quarkEvents.json b/bot/en_gb/standard/quarkEvents.json new file mode 100644 index 0000000..32cd39d --- /dev/null +++ b/bot/en_gb/standard/quarkEvents.json @@ -0,0 +1,64 @@ +{ + "serverlogChannelUpdate": { + "title": "Logging Channel Changed", + "description_set": "{executor} set the {type} logging channel to {channel}", + "description_category_disable": "{executor} disabled the {type} logging channel", + "description_unset": "{executor} unset the {type} logging channel" + }, + "serverlogOptionsUpdate": { + "title": "Logging Options Updated", + "description": "{executor} set {option} to {state}", + "pluralkitSupport": "PluralKit Support", + "spoilers": "Spoilers", + "buttons": "Buttons", + "formatType": "Format Type" + }, + "serverlogLogUpdate": { + "title": "Log Updated", + "description": "{executor} updated the {type} log", + "enabled": "Enabled", + "logFormat": "Format", + "logChannel": "Channel", + "colour": "Colour", + "ignoreBotExecutors": "Ignore Bot Executors", + "ignoreBotTargets": "Ignore Bot Targets", + "activeIgnore": "Active Ignore" + }, + "serverlogIgnoreUpdate": { + "title": "Ignore Options Updated", + "description_set": "{executor} enabled {type}", + "description_unset": "{executor} disabled {type}", + "description_added": "{executor} added {target} to {type}", + "description_removed": "{executor} removed {target} from {type}" + }, + "languageUpdate": { + "title": "Language Changed", + "description": "{executor} changed the language to {language}" + }, + "reset": { + "title": "Configuration Reset", + "description": "{executor} reset the configuration for this server" + }, + "tagAdded": { + "title": "Tag Added", + "description": "{executor} created a tag {tag}" + }, + "tagUpdated": { + "title": "Tag Updated", + "description": "{executor} updated the tag {tag}" + }, + "tagDeleted": { + "title": "Tag Deleted", + "description": "{executor} deleted the tag {tag}" + }, + "tokenAdded": { + "title": "Token Generated", + "description": "{executor} generated a Quark access token with {permissions} permissions for this server", + "unique_id": "Token ID", + "revoke": "Revoke this token" + }, + "tokenRevoked": { + "title": "Token Revoked", + "description": "{executor} revoked the Quark access token with ID {token}" + } +} \ No newline at end of file diff --git a/bot/en_gb/standard/textEvents.json b/bot/en_gb/standard/textEvents.json index df695f2..5037d39 100644 --- a/bot/en_gb/standard/textEvents.json +++ b/bot/en_gb/standard/textEvents.json @@ -31,7 +31,8 @@ "sticker": "sticker", "noContent": "no content", "embed": "embed", - "thread": "Thread" + "thread": "Thread", + "initialReactor": "initial reactor" }, "messagesBulkDeleted": { "title": "Multiple Messages Deleted", diff --git a/bot/en_pr/access_token.json b/bot/en_pr/access_token.json new file mode 100644 index 0000000..721f000 --- /dev/null +++ b/bot/en_pr/access_token.json @@ -0,0 +1,4 @@ +{ + "1": "Admin", + "2": "Basic" +} \ No newline at end of file diff --git a/bot/en_pr/command_responses.json b/bot/en_pr/command_responses.json index c94f083..fe883da 100644 --- a/bot/en_pr/command_responses.json +++ b/bot/en_pr/command_responses.json @@ -50,10 +50,10 @@ "response-unban": "Unbanned", "response-purge": "Purged {count} messages", - "response-customise-dash": "Customisation settings have moved to our [web dashboard]!", + "response-customise-dash": "Customisation settings have moved to Quark's [web dashboard]!", "response-customise-1": "Log messages up to 2 weeks old, customise logs, and so much more with Quark Pro...", "response-customise-2": "[UK, US, EU] Click onto my profile to upgrade!", - "response-customise-3": "Or... {proLink}", + "response-customise-3": "See subscriptions... {proLink}", "response-customise-4": "Try out colour customisation for free at {inventoryLink}", "response-case-updated": "Case updated!", @@ -104,6 +104,8 @@ "setserverlog-type-channels-1": "channel events", "setserverlog-type-modlogs-0": "Modlogs", "setserverlog-type-modlogs-1": "modlogs", + "setserverlog-type-quark-0": "Quark Events", + "setserverlog-type-quark-1": "quark events", "setserverlog-spoilers": "Spoilers", "setserverlog-spoilers-0": "Serverlog spoilers set to {result}", "setserverlog-enable-status-updates": "Enable Status Updates!", @@ -158,6 +160,9 @@ "need-to-vote": "Click here to vote", "need-to-vote-footer": "Votes take up to a minute to be registered", + "initialreactors-expired": "expired", + "initialreactors-notfound": "No reactions found", + "configCommand": { "title": "Serverlog Configuration", "selection": "Select a category in the menu to view configuration.", @@ -206,6 +211,10 @@ "title": "Overview", "description": "Overview of main category options" }, + "quarkEvents": { + "title": "Quark Config", + "description": "Changes made to Quark's configuration for this server" + }, "fileEvents": { "title": "Files" } diff --git a/bot/en_pr/ignore_options.json b/bot/en_pr/ignore_options.json new file mode 100644 index 0000000..197476a --- /dev/null +++ b/bot/en_pr/ignore_options.json @@ -0,0 +1,12 @@ +{ + "ignoreTargets": "Ignore Target Users", + "ignoreExecutors": "Ignore Target Executors", + "specificMessageContent": "Ignore Specific Message Content", + "ignoreChannels": "Ignore Channels", + "ignoreBotExecutors": "Ignore Bot Executors", + "ignoreBotTargets": "Ignore Bot Targets", + "ignoreExecutorRoles": "Ignore Executor Roles", + "ignoreTargetRoles": "Ignore Target Roles", + "ignoreCategories": "Ignore Categories", + "activeIgnore": "Active Ignore" +} \ No newline at end of file diff --git a/bot/en_pr/log_categories.json b/bot/en_pr/log_categories.json new file mode 100644 index 0000000..3279228 --- /dev/null +++ b/bot/en_pr/log_categories.json @@ -0,0 +1,13 @@ +{ + "serverEvents": "Members", + "serverActions": "Actions", + "textEvents": "Messages", + "voiceEvents": "Voice", + "fileEvents": "Files", + "generalEvents": "Server", + "roleEvents": "Roles", + "channelEvents": "Channels", + "quarkEvents": "Quark Config", + "modLog": "Modlogs", + "main": "Main" +} \ No newline at end of file diff --git a/bot/en_pr/log_formats.json b/bot/en_pr/log_formats.json new file mode 100644 index 0000000..7531cd0 --- /dev/null +++ b/bot/en_pr/log_formats.json @@ -0,0 +1,7 @@ +{ + "0": "Standard", + "1": "Compact", + "2": "Standard (no embed)", + "3": "Compact (no embed)", + "4": "json" +} \ No newline at end of file diff --git a/bot/en_pr/standard/channelEvents.json b/bot/en_pr/standard/channelEvents.json index 2f1d621..3ac3e9c 100644 --- a/bot/en_pr/standard/channelEvents.json +++ b/bot/en_pr/standard/channelEvents.json @@ -26,5 +26,37 @@ "description": "{executor} updated permissions for {channel} for {special}", "newPermissions": "New Permissions", "viewFullNewPermissions": "View Full New Permissions" + }, + "webhookCreate": { + "title": "Webhook Created", + "description": "{executor} created a webhook {webhook} in {channel}" + }, + "webhookDelete": { + "title": "Webhook Deleted", + "description": "{executor} deleted the webhook {webhook}" + }, + "webhookUpdate": { + "title": "Webhook Modified", + "description": "{executor} modified the webhook {webhook}" + }, + "webhookAvatarUpdate": { + "title": "Webhook Avatar Updated", + "description": "{executor} updated the avatar for {webhook}", + "description_added": "{executor} added an avatar for {webhook}", + "description_removed": "{executor} removed the avatar for {webhook}", + "linkToOldAvatar": "Link to old avatar", + "linkToNewAvatar": "Link to new avatar" + }, + "statusChannelFollowed": { + "title": "Channel Followed", + "description": "{executor} followed the channel {name} in {channel}" + }, + "statusChannelUnfollowed": { + "title": "Channel Unfollowed", + "description": "{executor} unfollowed the channel {name}" + }, + "statusChannelUpdated": { + "title": "Followed Channel Updated", + "description": "{executor} updated the followed channel {name}" } } \ No newline at end of file diff --git a/bot/en_pr/standard/quarkEvents.json b/bot/en_pr/standard/quarkEvents.json new file mode 100644 index 0000000..32cd39d --- /dev/null +++ b/bot/en_pr/standard/quarkEvents.json @@ -0,0 +1,64 @@ +{ + "serverlogChannelUpdate": { + "title": "Logging Channel Changed", + "description_set": "{executor} set the {type} logging channel to {channel}", + "description_category_disable": "{executor} disabled the {type} logging channel", + "description_unset": "{executor} unset the {type} logging channel" + }, + "serverlogOptionsUpdate": { + "title": "Logging Options Updated", + "description": "{executor} set {option} to {state}", + "pluralkitSupport": "PluralKit Support", + "spoilers": "Spoilers", + "buttons": "Buttons", + "formatType": "Format Type" + }, + "serverlogLogUpdate": { + "title": "Log Updated", + "description": "{executor} updated the {type} log", + "enabled": "Enabled", + "logFormat": "Format", + "logChannel": "Channel", + "colour": "Colour", + "ignoreBotExecutors": "Ignore Bot Executors", + "ignoreBotTargets": "Ignore Bot Targets", + "activeIgnore": "Active Ignore" + }, + "serverlogIgnoreUpdate": { + "title": "Ignore Options Updated", + "description_set": "{executor} enabled {type}", + "description_unset": "{executor} disabled {type}", + "description_added": "{executor} added {target} to {type}", + "description_removed": "{executor} removed {target} from {type}" + }, + "languageUpdate": { + "title": "Language Changed", + "description": "{executor} changed the language to {language}" + }, + "reset": { + "title": "Configuration Reset", + "description": "{executor} reset the configuration for this server" + }, + "tagAdded": { + "title": "Tag Added", + "description": "{executor} created a tag {tag}" + }, + "tagUpdated": { + "title": "Tag Updated", + "description": "{executor} updated the tag {tag}" + }, + "tagDeleted": { + "title": "Tag Deleted", + "description": "{executor} deleted the tag {tag}" + }, + "tokenAdded": { + "title": "Token Generated", + "description": "{executor} generated a Quark access token with {permissions} permissions for this server", + "unique_id": "Token ID", + "revoke": "Revoke this token" + }, + "tokenRevoked": { + "title": "Token Revoked", + "description": "{executor} revoked the Quark access token with ID {token}" + } +} \ No newline at end of file diff --git a/bot/en_pr/standard/textEvents.json b/bot/en_pr/standard/textEvents.json index 1783334..a0b002d 100644 --- a/bot/en_pr/standard/textEvents.json +++ b/bot/en_pr/standard/textEvents.json @@ -31,7 +31,8 @@ "sticker": "sticker", "noContent": "nothin' t' see", "embed": "embed", - "thread": "Thread" + "thread": "Thread", + "initialReactor": "initial reactor" }, "messagesBulkDeleted": { "title": "Multiple Messages Scrubbed", diff --git a/bot/en_us/access_token.json b/bot/en_us/access_token.json new file mode 100644 index 0000000..721f000 --- /dev/null +++ b/bot/en_us/access_token.json @@ -0,0 +1,4 @@ +{ + "1": "Admin", + "2": "Basic" +} \ No newline at end of file diff --git a/bot/en_us/command_responses.json b/bot/en_us/command_responses.json index 4bc3e8c..1130fbc 100644 --- a/bot/en_us/command_responses.json +++ b/bot/en_us/command_responses.json @@ -50,11 +50,11 @@ "response-unban": "Unbanned", "response-purge": "Purged {count} messages", - "response-customise-dash": "Customization settings have moved to our [web dashboard]!", - "response-customise-1": "Log messages up to 2 weeks old, customise logs, and so much more with Quark Pro...", + "response-customise-dash": "Customization settings have moved to Quark's [web dashboard]!", + "response-customise-1": "Log messages up to 2 weeks old, customize logs, and so much more with Quark Pro...", "response-customise-2": "[UK, US, EU] Click onto my profile to upgrade!", - "response-customise-3": "Or... {proLink}", - "response-customise-4": "Try out colour customisation for free at {inventoryLink}", + "response-customise-3": "See subscriptions... {proLink}", + "response-customise-4": "Try out color customization for free at {inventoryLink}", "response-case-updated": "Case updated!", @@ -104,6 +104,8 @@ "setserverlog-type-channels-1": "channel events", "setserverlog-type-modlogs-0": "Modlogs", "setserverlog-type-modlogs-1": "modlogs", + "setserverlog-type-quark-0": "Quark Events", + "setserverlog-type-quark-1": "quark events", "setserverlog-spoilers": "Spoilers", "setserverlog-spoilers-0": "Serverlog spoilers set to {result}", "setserverlog-enable-status-updates": "Enable Status Updates!", @@ -158,6 +160,9 @@ "need-to-vote": "Click here to vote", "need-to-vote-footer": "Votes take up to a minute to be registered", + "initialreactors-expired": "expired", + "initialreactors-notfound": "No reactions found", + "configCommand": { "title": "Serverlog Configuration", "selection": "Select a category in the menu to view configuration.", @@ -206,6 +211,10 @@ "title": "Overview", "description": "Overview of main category options" }, + "quarkEvents": { + "title": "Quark Config", + "description": "Changes made to Quark's configuration for this server" + }, "fileEvents": { "title": "Files" } diff --git a/bot/en_us/gui_constants.json b/bot/en_us/gui_constants.json index 747102d..993c5e2 100644 --- a/bot/en_us/gui_constants.json +++ b/bot/en_us/gui_constants.json @@ -33,5 +33,9 @@ "explicit_content_filter": "Explicit Content Filter", "nsfw_level": "NSFW Level", "premium_progress_bar_enabled": "Progress Bar" + }, + "webhookModificationTypes": { + "name": "Name", + "channel_id": "Channel" } } \ No newline at end of file diff --git a/bot/en_us/ignore_options.json b/bot/en_us/ignore_options.json new file mode 100644 index 0000000..197476a --- /dev/null +++ b/bot/en_us/ignore_options.json @@ -0,0 +1,12 @@ +{ + "ignoreTargets": "Ignore Target Users", + "ignoreExecutors": "Ignore Target Executors", + "specificMessageContent": "Ignore Specific Message Content", + "ignoreChannels": "Ignore Channels", + "ignoreBotExecutors": "Ignore Bot Executors", + "ignoreBotTargets": "Ignore Bot Targets", + "ignoreExecutorRoles": "Ignore Executor Roles", + "ignoreTargetRoles": "Ignore Target Roles", + "ignoreCategories": "Ignore Categories", + "activeIgnore": "Active Ignore" +} \ No newline at end of file diff --git a/bot/en_us/log_categories.json b/bot/en_us/log_categories.json new file mode 100644 index 0000000..3279228 --- /dev/null +++ b/bot/en_us/log_categories.json @@ -0,0 +1,13 @@ +{ + "serverEvents": "Members", + "serverActions": "Actions", + "textEvents": "Messages", + "voiceEvents": "Voice", + "fileEvents": "Files", + "generalEvents": "Server", + "roleEvents": "Roles", + "channelEvents": "Channels", + "quarkEvents": "Quark Config", + "modLog": "Modlogs", + "main": "Main" +} \ No newline at end of file diff --git a/bot/en_us/log_formats.json b/bot/en_us/log_formats.json new file mode 100644 index 0000000..7531cd0 --- /dev/null +++ b/bot/en_us/log_formats.json @@ -0,0 +1,7 @@ +{ + "0": "Standard", + "1": "Compact", + "2": "Standard (no embed)", + "3": "Compact (no embed)", + "4": "json" +} \ No newline at end of file diff --git a/bot/en_us/slash_commands/dashboard.json b/bot/en_us/slash_commands/dashboard.json new file mode 100644 index 0000000..36050cd --- /dev/null +++ b/bot/en_us/slash_commands/dashboard.json @@ -0,0 +1,4 @@ +{ + "name": "dashboard", + "description": "Visit Quark's web dashboard" +} \ No newline at end of file diff --git a/bot/en_us/slash_commands/initialReactor.json b/bot/en_us/slash_commands/initialReactor.json new file mode 100644 index 0000000..61bbbbb --- /dev/null +++ b/bot/en_us/slash_commands/initialReactor.json @@ -0,0 +1,3 @@ +{ + "name": "See initial reactors" +} \ No newline at end of file diff --git a/bot/en_us/slash_commands/premium.json b/bot/en_us/slash_commands/premium.json new file mode 100644 index 0000000..5ab0d12 --- /dev/null +++ b/bot/en_us/slash_commands/premium.json @@ -0,0 +1,4 @@ +{ + "name": "premium", + "description": "Get information about the premium subscriptions Quark has" +} \ No newline at end of file diff --git a/bot/en_us/standard/channelEvents.json b/bot/en_us/standard/channelEvents.json index 2f1d621..3ac3e9c 100644 --- a/bot/en_us/standard/channelEvents.json +++ b/bot/en_us/standard/channelEvents.json @@ -26,5 +26,37 @@ "description": "{executor} updated permissions for {channel} for {special}", "newPermissions": "New Permissions", "viewFullNewPermissions": "View Full New Permissions" + }, + "webhookCreate": { + "title": "Webhook Created", + "description": "{executor} created a webhook {webhook} in {channel}" + }, + "webhookDelete": { + "title": "Webhook Deleted", + "description": "{executor} deleted the webhook {webhook}" + }, + "webhookUpdate": { + "title": "Webhook Modified", + "description": "{executor} modified the webhook {webhook}" + }, + "webhookAvatarUpdate": { + "title": "Webhook Avatar Updated", + "description": "{executor} updated the avatar for {webhook}", + "description_added": "{executor} added an avatar for {webhook}", + "description_removed": "{executor} removed the avatar for {webhook}", + "linkToOldAvatar": "Link to old avatar", + "linkToNewAvatar": "Link to new avatar" + }, + "statusChannelFollowed": { + "title": "Channel Followed", + "description": "{executor} followed the channel {name} in {channel}" + }, + "statusChannelUnfollowed": { + "title": "Channel Unfollowed", + "description": "{executor} unfollowed the channel {name}" + }, + "statusChannelUpdated": { + "title": "Followed Channel Updated", + "description": "{executor} updated the followed channel {name}" } } \ No newline at end of file diff --git a/bot/en_us/standard/quarkEvents.json b/bot/en_us/standard/quarkEvents.json new file mode 100644 index 0000000..9553f48 --- /dev/null +++ b/bot/en_us/standard/quarkEvents.json @@ -0,0 +1,64 @@ +{ + "serverlogChannelUpdate": { + "title": "Logging Channel Changed", + "description_set": "{executor} set the {type} logging channel to {channel}", + "description_category_disable": "{executor} disabled the {type} logging channel", + "description_unset": "{executor} unset the {type} logging channel" + }, + "serverlogOptionsUpdate": { + "title": "Logging Options Updated", + "description": "{executor} set {option} to {state}", + "pluralkitSupport": "PluralKit Support", + "spoilers": "Spoilers", + "buttons": "Buttons", + "formatType": "Format Type" + }, + "serverlogLogUpdate": { + "title": "Log Updated", + "description": "{executor} updated the {type} log", + "enabled": "Enabled", + "logFormat": "Format", + "logChannel": "Channel", + "colour": "Color", + "ignoreBotExecutors": "Ignore Bot Executors", + "ignoreBotTargets": "Ignore Bot Targets", + "activeIgnore": "Active Ignore" + }, + "serverlogIgnoreUpdate": { + "title": "Ignore Options Updated", + "description_set": "{executor} enabled {type}", + "description_unset": "{executor} disabled {type}", + "description_added": "{executor} added {target} to {type}", + "description_removed": "{executor} removed {target} from {type}" + }, + "languageUpdate": { + "title": "Language Changed", + "description": "{executor} changed the language to {language}" + }, + "reset": { + "title": "Configuration Reset", + "description": "{executor} reset the configuration for this server" + }, + "tagAdded": { + "title": "Tag Added", + "description": "{executor} created a tag {tag}" + }, + "tagUpdated": { + "title": "Tag Updated", + "description": "{executor} updated the tag {tag}" + }, + "tagDeleted": { + "title": "Tag Deleted", + "description": "{executor} deleted the tag {tag}" + }, + "tokenAdded": { + "title": "Token Generated", + "description": "{executor} generated a Quark access token with {permissions} permissions for this server", + "unique_id": "Token ID", + "revoke": "Revoke this token" + }, + "tokenRevoked": { + "title": "Token Revoked", + "description": "{executor} revoked the Quark access token with ID {token}" + } +} \ No newline at end of file diff --git a/bot/en_us/standard/textEvents.json b/bot/en_us/standard/textEvents.json index df695f2..5037d39 100644 --- a/bot/en_us/standard/textEvents.json +++ b/bot/en_us/standard/textEvents.json @@ -31,7 +31,8 @@ "sticker": "sticker", "noContent": "no content", "embed": "embed", - "thread": "Thread" + "thread": "Thread", + "initialReactor": "initial reactor" }, "messagesBulkDeleted": { "title": "Multiple Messages Deleted", diff --git a/bot/pl/standard/channelEvents.json b/bot/pl/standard/channelEvents.json index b6447a4..9df6eb9 100644 --- a/bot/pl/standard/channelEvents.json +++ b/bot/pl/standard/channelEvents.json @@ -1,30 +1,30 @@ { "channelCreated": { - "title": "Kanał Utworzony", + "title": "Utworzono Kanał {type}", "description": "{channel} został utworzony przez {executor}", "descriptionWithCategory": "{channel} został utworzony przez {executor} w kategorii {category}." }, "channelDeleted": { - "title": "Kanał Usunięty", + "title": "Usunięto Kanał {type}", "description": "{channel_name} został usunięty przez {executor}", "channel": "Kanał" }, "channelUpdated": { - "title": "Kanał Zmodyfikowany", + "title": "Zmodyfikowano Kanał {type}", "description": "{channel} został zmodyfikowany przez {executor}" }, "channelOverwriteCreate": { - "title": "Dodano Uprawnienia do Kanału", + "title": "Dodano Uprawnienia do Kanału {type}", "description": "{executor} dodał uprawnienia do {channel} dla {special}" }, "channelOverwriteDelete": { - "title": "Usunięto Uprawnienia z Kanału", + "title": "Usunięto Uprawnienia z Kanału {type}", "description": "{executor} usunął uprawnienia z {channel} dla {special}" }, "channelOverwriteUpdate": { - "title": "Zaktualizowano Uprawnienia Kanału", + "title": "Zaktualizowano Uprawnienia Kanału {type}", "description": "{executor} zaktualizował uprawnienia dla {channel} dla {special}", "newPermissions": "Nowe Uprawnienia", "viewFullNewPermissions": "Zobacz Pełne Nowe Uprawnienia" } -} \ No newline at end of file +}