nubis 0.1.0-next.0 → 0.1.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +4 -2
- package/dist/node.js +3 -1
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -704,7 +704,9 @@ async function syncCommands(options) {
|
|
|
704
704
|
...toCommandPayloads(options.project.tree),
|
|
705
705
|
...toMenuPayloads(options.project.menus)
|
|
706
706
|
];
|
|
707
|
-
const remote = await options.rest.get(route
|
|
707
|
+
const remote = await options.rest.get(route, {
|
|
708
|
+
query: new URLSearchParams({ with_localizations: "true" })
|
|
709
|
+
});
|
|
708
710
|
const plan = planSync(local, remote);
|
|
709
711
|
const scope = options.guildId ? "guild" : "global";
|
|
710
712
|
if (options.dryRun || !hasChanges(plan))
|
|
@@ -905,7 +907,7 @@ var init_commands = __esm(() => {
|
|
|
905
907
|
// package.json
|
|
906
908
|
var package_default = {
|
|
907
909
|
name: "nubis",
|
|
908
|
-
version: "0.1.0-next.
|
|
910
|
+
version: "0.1.0-next.1",
|
|
909
911
|
description: "The Discord bot framework that feels like building a modern web app. Built by Eytak.",
|
|
910
912
|
keywords: [
|
|
911
913
|
"discord",
|
package/dist/node.js
CHANGED
|
@@ -544,7 +544,9 @@ async function syncCommands(options) {
|
|
|
544
544
|
...toCommandPayloads(options.project.tree),
|
|
545
545
|
...toMenuPayloads(options.project.menus)
|
|
546
546
|
];
|
|
547
|
-
const remote = await options.rest.get(route
|
|
547
|
+
const remote = await options.rest.get(route, {
|
|
548
|
+
query: new URLSearchParams({ with_localizations: "true" })
|
|
549
|
+
});
|
|
548
550
|
const plan = planSync(local, remote);
|
|
549
551
|
const scope = options.guildId ? "guild" : "global";
|
|
550
552
|
if (options.dryRun || !hasChanges(plan))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nubis",
|
|
3
|
-
"version": "0.1.0-next.
|
|
3
|
+
"version": "0.1.0-next.1",
|
|
4
4
|
"description": "The Discord bot framework that feels like building a modern web app. Built by Eytak.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"discord",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@discordjs/core": "^2.7.0",
|
|
52
52
|
"@discordjs/rest": "^2.6.3",
|
|
53
53
|
"@discordjs/ws": "^2.0.4",
|
|
54
|
-
"@nubisjs/core": "0.1.0-next.
|
|
55
|
-
"@nubisjs/testing": "0.1.0-next.
|
|
54
|
+
"@nubisjs/core": "0.1.0-next.1",
|
|
55
|
+
"@nubisjs/testing": "0.1.0-next.1",
|
|
56
56
|
"discord-api-types": "^0.38.59"
|
|
57
57
|
}
|
|
58
58
|
}
|