Socket
Socket
Sign inDemoInstall

@notenoughupdates/discord-akairo

Package Overview
Dependencies
3
Maintainers
1
Versions
140
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.0.10-dev.1640801479.de050b5 to 9.0.10-dev.1640802099.e1a1cb3

2

dist/package.json
{
"name": "@notenoughupdates/discord-akairo",
"version": "9.0.10-dev.1640801479.de050b5",
"version": "9.0.10-dev.1640802099.e1a1cb3",
"description": "A highly customizable bot framework for Discord.js.",

@@ -5,0 +5,0 @@ "main": "./dist/src/index.js",

@@ -190,3 +190,9 @@ "use strict";

}))
.sort((a, b) => a.name.localeCompare(b.name));
.sort((a, b) => {
if (a.name < b.name)
return -1;
if (a.name > b.name)
return 1;
return 0;
});
const currentGlobalCommands = (await this.client.application?.commands.fetch())

@@ -200,3 +206,9 @@ .map(value1 => ({

}))
.sort((a, b) => a.name.localeCompare(b.name));
.sort((a, b) => {
if (a.name < b.name)
return -1;
if (a.name > b.name)
return 1;
return 0;
});
if (!Util_js_1.default.deepEquals(currentGlobalCommands, slashCommandsApp)) {

@@ -228,3 +240,9 @@ this.client.emit("akairoDebug", "[registerInteractionCommands] Updating global interaction commands.", slashCommandsApp);

return;
const sortedCommands = value.sort((a, b) => a.name.localeCompare(b.name));
const sortedCommands = value.sort((a, b) => {
if (a.name < b.name)
return -1;
if (a.name > b.name)
return 1;
return 0;
});
const currentGuildCommands = (await guild.commands.fetch())

@@ -238,3 +256,9 @@ .map(value1 => ({

}))
.sort((a, b) => a.name.localeCompare(b.name));
.sort((a, b) => {
if (a.name < b.name)
return -1;
if (a.name > b.name)
return 1;
return 0;
});
if (!Util_js_1.default.deepEquals(currentGuildCommands, sortedCommands)) {

@@ -241,0 +265,0 @@ this.client.emit("akairoDebug", `[registerInteractionCommands] Updating guild commands for ${guild.name}.`, sortedCommands);

@@ -113,4 +113,4 @@ "use strict";

if (result === false) {
console.dir(_a, { depth: 3 });
console.dir(_b, { depth: 3 });
console.dir(_a, { depth: 4 });
console.dir(_b, { depth: 4 });
}

@@ -117,0 +117,0 @@ return result;

{
"name": "@notenoughupdates/discord-akairo",
"version": "9.0.10-dev.1640801479.de050b5",
"version": "9.0.10-dev.1640802099.e1a1cb3",
"description": "A highly customizable bot framework for Discord.js.",

@@ -5,0 +5,0 @@ "main": "./dist/src/index.js",

@@ -434,3 +434,7 @@ import {

}))
.sort((a, b) => a.name.localeCompare(b.name));
.sort((a, b) => {
if (a.name < b.name) return -1;
if (a.name > b.name) return 1;
return 0;
});
const currentGlobalCommands = (await this.client.application?.commands.fetch())!

@@ -444,3 +448,7 @@ .map(value1 => ({

}))
.sort((a, b) => a.name.localeCompare(b.name));
.sort((a, b) => {
if (a.name < b.name) return -1;
if (a.name > b.name) return 1;
return 0;
});

@@ -472,3 +480,7 @@ if (!Util.deepEquals(currentGlobalCommands, slashCommandsApp)) {

const sortedCommands = value.sort((a, b) => a.name.localeCompare(b.name));
const sortedCommands = value.sort((a, b) => {
if (a.name < b.name) return -1;
if (a.name > b.name) return 1;
return 0;
});

@@ -483,3 +495,7 @@ const currentGuildCommands = (await guild.commands.fetch())

}))
.sort((a, b) => a.name.localeCompare(b.name));
.sort((a, b) => {
if (a.name < b.name) return -1;
if (a.name > b.name) return 1;
return 0;
});

@@ -486,0 +502,0 @@ if (!Util.deepEquals(currentGuildCommands, sortedCommands)) {

@@ -129,4 +129,4 @@ /* eslint-disable @typescript-eslint/ban-types */

if (result === false) {
console.dir(_a, { depth: 3 });
console.dir(_b, { depth: 3 });
console.dir(_a, { depth: 4 });
console.dir(_b, { depth: 4 });
}

@@ -133,0 +133,0 @@ return result;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc