-
-
Save shiftinv/eddfcae9ca1f34790ced4a5288e3691f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- old.json 2023-09-22 14:51:00.739185341 +0200 | |
+++ new.json 2023-09-22 14:51:07.699213089 +0200 | |
@@ -86,8 +86,8 @@ | |
"type": 7, | |
"required": true, | |
"channel_types": [ | |
- 0, | |
- 5 | |
+ 5, | |
+ 0 | |
] | |
}, | |
{ | |
@@ -126,8 +126,8 @@ | |
"description": "A channel which should default to the current one - uses the id", | |
"type": 7, | |
"channel_types": [ | |
- 0, | |
- 5 | |
+ 5, | |
+ 0 | |
] | |
}, | |
{ | |
@@ -249,6 +249,25 @@ | |
] | |
}, | |
{ | |
+ "type": 3, | |
+ "name": "Localized Reverse", | |
+ "dm_permission": true, | |
+ "default_permission": true, | |
+ "nsfw": false, | |
+ "default_member_permissions": null, | |
+ "name_localizations": { | |
+ "de": "Rückwärts" | |
+ } | |
+ }, | |
+ { | |
+ "type": 3, | |
+ "name": "Reverse", | |
+ "dm_permission": true, | |
+ "default_permission": true, | |
+ "nsfw": false, | |
+ "default_member_permissions": null | |
+ }, | |
+ { | |
"type": 1, | |
"name": "test", | |
"dm_permission": false, | |
@@ -403,22 +422,54 @@ | |
"default_member_permissions": null | |
}, | |
{ | |
- "type": 3, | |
- "name": "Localized Reverse", | |
- "dm_permission": true, | |
- "default_permission": true, | |
- "nsfw": false, | |
- "default_member_permissions": null, | |
- "name_localizations": { | |
- "de": "Rückwärts" | |
- } | |
+ "name": "second", | |
+ "description": "-", | |
+ "type": 2, | |
+ "options": [ | |
+ { | |
+ "name": "third", | |
+ "description": "-", | |
+ "type": 1, | |
+ "options": [ | |
+ { | |
+ "name": "a_string", | |
+ "description": "-", | |
+ "type": 3, | |
+ "required": true, | |
+ "name_localizations": { | |
+ "de": "wert" | |
+ } | |
+ } | |
+ ], | |
+ "name_localizations": { | |
+ "en-GB": "british_subcommand" | |
+ }, | |
+ "description_localizations": { | |
+ "de": "Unterbefehl in Gruppe" | |
+ } | |
+ } | |
+ ] | |
}, | |
{ | |
- "type": 3, | |
- "name": "Reverse", | |
- "dm_permission": true, | |
- "default_permission": true, | |
- "nsfw": false, | |
- "default_member_permissions": null | |
+ "name": "third", | |
+ "description": "-", | |
+ "type": 1, | |
+ "options": [ | |
+ { | |
+ "name": "a_string", | |
+ "description": "-", | |
+ "type": 3, | |
+ "required": true, | |
+ "name_localizations": { | |
+ "de": "wert" | |
+ } | |
+ } | |
+ ], | |
+ "name_localizations": { | |
+ "en-GB": "british_subcommand" | |
+ }, | |
+ "description_localizations": { | |
+ "de": "Unterbefehl in Gruppe" | |
+ } | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment