aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json12
-rw-r--r--src/commands/dev/eval.ts12
-rw-r--r--src/commands/info/help.ts2
-rw-r--r--src/commands/info/links.ts2
-rw-r--r--src/lib/common/AutoMod.ts9
-rw-r--r--src/lib/extensions/discord.js/BushButtonInteraction.ts10
-rw-r--r--src/lib/extensions/discord.js/BushChannel.d.ts3
-rw-r--r--src/lib/extensions/discord.js/BushCommandInteraction.ts10
-rw-r--r--src/lib/extensions/discord.js/BushSelectMenuInteraction.ts10
-rw-r--r--src/listeners/other/promiseRejection.ts5
-rw-r--r--src/listeners/other/uncaughtException.ts4
-rw-r--r--yarn.lock138
12 files changed, 127 insertions, 90 deletions
diff --git a/package.json b/package.json
index ee3bf11..ea63be2 100644
--- a/package.json
+++ b/package.json
@@ -37,7 +37,7 @@
"format:check": "yarn prettier . --check",
"upgrade": "yarn rimraf yarn.lock && yarn cache clean && yarn install && yarn up && yarn up -R && yarn set version latest",
"upgrade:sdk": "yarn dlx @yarnpkg/sdks vscode",
- "upgrade:manual": "yarn add @notenoughupdates/discord.js-minesweeper @notenoughupdates/events-intercept @notenoughupdates/humanize-duration @notenoughupdates/simplify-number @notenoughupdates/wolfram-alpha-api @sentry/node @sentry/tracing canvas deep-lock chalk discord-akairo@npm:@notenoughupdates/discord-akairo@dev discord.js@npm:@notenoughupdates/discord.js@dev fuse.js got lodash mathjs moment nanoid node-os-utils numeral pg pg-hstore prettier pretty-bytes rimraf sequelize source-map-support tinycolor2 tslib typescript vm2 && yarn add --dev @types/express @types/lodash @types/node @types/node-os-utils @types/numeral @types/tinycolor2 @types/validator @typescript-eslint/eslint-plugin @typescript-eslint/parser discord-api-types@0.24.0 eslint eslint-config-prettier",
+ "upgrade:manual": "yarn add @notenoughupdates/discord.js-minesweeper @notenoughupdates/events-intercept @notenoughupdates/humanize-duration @notenoughupdates/simplify-number @notenoughupdates/wolfram-alpha-api @sentry/node @sentry/tracing canvas deep-lock chalk discord-akairo@npm:@notenoughupdates/discord-akairo@dev discord.js@npm:@notenoughupdates/discord.js@dev fuse.js got lodash mathjs moment nanoid node-os-utils numeral pg pg-hstore prettier pretty-bytes rimraf sequelize source-map-support tinycolor2 tslib typescript vm2 && yarn add --dev @types/express @types/lodash @types/node @types/node-os-utils @types/numeral @types/tinycolor2 @types/validator @typescript-eslint/eslint-plugin @typescript-eslint/parser discord-api-types@0.25.2 eslint eslint-config-prettier",
"upgrade:package": "powershell -c \"yarn info --name-only | %{\\$_ -replace '^(?:├─ |└─ )?(@?[a-z0-9-~][a-z0-9-._~/]{0,}(?=.*(npm:(?!.*dev)|patch:.*?@npm).*))|.*\\$','\\$1'} | where{[string]::IsNullOrEmpty(\\$_) -eq \\$false} | yarn add\"",
"beta": "git push && git checkout beta && git merge master && git push && git checkout master",
"deploy:beta": "pm2 deploy ecosystem.config.cjs beta",
@@ -45,7 +45,7 @@
"deploy:all": "yarn beta && pm2 deploy ecosystem.config.cjs production && pm2 deploy ecosystem.config.cjs beta"
},
"dependencies": {
- "@notenoughupdates/discord.js-minesweeper": "^1.0.8",
+ "@notenoughupdates/discord.js-minesweeper": "^1.0.9",
"@notenoughupdates/events-intercept": "^3.0.1",
"@notenoughupdates/humanize-duration": "^4.0.1",
"@notenoughupdates/simplify-number": "^1.0.1",
@@ -74,7 +74,7 @@
"source-map-support": "^0.5.21",
"tinycolor2": "^1.4.2",
"tslib": "^2.3.1",
- "typescript": "^4.5.3",
+ "typescript": "^4.5.4",
"vm2": "^3.9.5"
},
"devDependencies": {
@@ -90,9 +90,9 @@
"@types/source-map-support": "^0",
"@types/tinycolor2": "^1.4.3",
"@types/validator": "^13.7.0",
- "@typescript-eslint/eslint-plugin": "^5.6.0",
- "@typescript-eslint/parser": "^5.6.0",
- "discord-api-types": "0.24.0",
+ "@typescript-eslint/eslint-plugin": "^5.7.0",
+ "@typescript-eslint/parser": "^5.7.0",
+ "discord-api-types": "0.25.2",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0"
},
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts
index 5b30d96..2393a9b 100644
--- a/src/commands/dev/eval.ts
+++ b/src/commands/dev/eval.ts
@@ -16,6 +16,15 @@ export default class EvalCommand extends BushCommand {
examples: ['eval message.channel.delete()'],
args: [
{
+ id: 'code',
+ description: 'The code you would like to evaluate.',
+ match: 'rest',
+ prompt: 'What would you like to eval?',
+ retry: '{error} Invalid code to eval.',
+ slashType: 'STRING',
+ only: 'slash'
+ },
+ {
id: 'sel_depth',
description: 'How deep to inspect the output.',
match: 'option',
@@ -96,7 +105,8 @@ export default class EvalCommand extends BushCommand {
match: 'rest',
prompt: 'What would you like to eval?',
retry: '{error} Invalid code to eval.',
- slashType: 'STRING'
+ slashType: 'STRING',
+ only: 'text'
}
],
slash: true,
diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts
index 455ad5f..eac48a6 100644
--- a/src/commands/info/help.ts
+++ b/src/commands/info/help.ts
@@ -1,7 +1,7 @@
import { BushCommand, BushMessage, BushSlashMessage } from '#lib';
import { MessageActionRow, MessageButton, MessageEmbed } from 'discord.js';
-const packageDotJSON = await import('../../../package.json').catch(() => null);
+const packageDotJSON = await import('../../../package.json', { assert: { type: 'json' } }).catch(() => null);
export default class HelpCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/info/links.ts b/src/commands/info/links.ts
index 3f82245..79f1041 100644
--- a/src/commands/info/links.ts
+++ b/src/commands/info/links.ts
@@ -1,6 +1,6 @@
import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib';
import { MessageActionRow, MessageButton } from 'discord.js';
-import packageDotJSON from '../../../package.json';
+import packageDotJSON from '../../../package.json' assert { type: 'json' };
export default class LinksCommand extends BushCommand {
public constructor() {
diff --git a/src/lib/common/AutoMod.ts b/src/lib/common/AutoMod.ts
index c52754a..932d457 100644
--- a/src/lib/common/AutoMod.ts
+++ b/src/lib/common/AutoMod.ts
@@ -32,8 +32,7 @@ export class AutoMod {
*/
private async handle() {
if (this.message.channel.type === 'DM' || !this.message.guild) return;
- const hasFeature = this.message.guild.hasFeature;
- if (!(await hasFeature('automod'))) return;
+ if (!(await this.message.guild.hasFeature('automod'))) return;
const customAutomodPhrases = (await this.message.guild.getSetting('autoModPhases')) ?? {};
const badLinks: BadWords = {};
@@ -52,8 +51,8 @@ export class AutoMod {
const result = {
...this.checkWords(customAutomodPhrases),
- ...this.checkWords((await hasFeature('excludeDefaultAutomod')) ? {} : badWords),
- ...this.checkWords((await hasFeature('excludeAutomodScamLinks')) ? {} : badLinks)
+ ...this.checkWords((await this.message.guild.hasFeature('excludeDefaultAutomod')) ? {} : badWords),
+ ...this.checkWords((await this.message.guild.hasFeature('excludeAutomodScamLinks')) ? {} : badLinks)
};
if (Object.keys(result).length === 0) return;
@@ -77,7 +76,7 @@ export class AutoMod {
void this.log(highestOffence, color, result);
}
- if (!this.punished && (await hasFeature('delScamMentions'))) void this.checkScamMentions();
+ if (!this.punished && (await this.message.guild.hasFeature('delScamMentions'))) void this.checkScamMentions();
}
/**
diff --git a/src/lib/extensions/discord.js/BushButtonInteraction.ts b/src/lib/extensions/discord.js/BushButtonInteraction.ts
index 9e62d46..18d6b35 100644
--- a/src/lib/extensions/discord.js/BushButtonInteraction.ts
+++ b/src/lib/extensions/discord.js/BushButtonInteraction.ts
@@ -1,10 +1,16 @@
-import type { BushClient, BushGuild, BushGuildMember, BushTextBasedChannels, BushUser } from '#lib';
+import type { BushClient, BushGuild, BushGuildMember, BushGuildTextBasedChannel, BushTextBasedChannels, BushUser } from '#lib';
import type { APIInteractionGuildMember } from 'discord-api-types/v9';
import { ButtonInteraction, type CacheType, type CacheTypeReducer } from 'discord.js';
import type { RawMessageButtonInteractionData } from 'discord.js/typings/rawDataTypes';
export class BushButtonInteraction<Cached extends CacheType = CacheType> extends ButtonInteraction<Cached> {
- public declare readonly channel: CacheTypeReducer<Cached, BushTextBasedChannels | null>;
+ public declare readonly channel: CacheTypeReducer<
+ Cached,
+ BushGuildTextBasedChannel | null,
+ BushGuildTextBasedChannel | null,
+ BushGuildTextBasedChannel | null,
+ BushTextBasedChannels | null
+ >;
public declare readonly guild: CacheTypeReducer<Cached, BushGuild, null>;
public declare member: CacheTypeReducer<Cached, BushGuildMember, APIInteractionGuildMember>;
public declare user: BushUser;
diff --git a/src/lib/extensions/discord.js/BushChannel.d.ts b/src/lib/extensions/discord.js/BushChannel.d.ts
index 9a78b9a..497c33a 100644
--- a/src/lib/extensions/discord.js/BushChannel.d.ts
+++ b/src/lib/extensions/discord.js/BushChannel.d.ts
@@ -7,7 +7,8 @@ export class BushChannel extends Channel {
public constructor(client: BushClient, data?: RawChannelData, immediatePatch?: boolean);
public readonly createdAt: Date;
public readonly createdTimestamp: number;
- public deleted: boolean;
+ public get deleted(): boolean;
+ public set deleted(value: boolean);
public id: Snowflake;
public readonly partial: false;
public type: keyof typeof ChannelTypes;
diff --git a/src/lib/extensions/discord.js/BushCommandInteraction.ts b/src/lib/extensions/discord.js/BushCommandInteraction.ts
index b61ec9b..174fd9c 100644
--- a/src/lib/extensions/discord.js/BushCommandInteraction.ts
+++ b/src/lib/extensions/discord.js/BushCommandInteraction.ts
@@ -10,14 +10,20 @@ import type {
import type { APIInteractionGuildMember } from 'discord-api-types/v9';
import { CommandInteraction, type CacheType, type CacheTypeReducer, type Invite, type Snowflake } from 'discord.js';
import type { RawCommandInteractionData } from 'discord.js/typings/rawDataTypes';
-import { BushTextBasedChannels, type BushClient } from '../discord-akairo/BushClient';
+import { BushGuildTextBasedChannel, BushTextBasedChannels, type BushClient } from '../discord-akairo/BushClient';
export type BushGuildResolvable = BushGuild | BushGuildChannel | BushGuildMember | BushGuildEmoji | Invite | BushRole | Snowflake;
export class BushCommandInteraction<Cached extends CacheType = CacheType> extends CommandInteraction<Cached> {
public declare readonly client: BushClient;
public declare readonly command: BushApplicationCommand | BushApplicationCommand<{ guild: BushGuildResolvable }> | null;
- public declare readonly channel: CacheTypeReducer<Cached, BushTextBasedChannels | null>;
+ public declare readonly channel: CacheTypeReducer<
+ Cached,
+ BushGuildTextBasedChannel | null,
+ BushGuildTextBasedChannel | null,
+ BushGuildTextBasedChannel | null,
+ BushTextBasedChannels | null
+ >;
public declare readonly guild: CacheTypeReducer<Cached, BushGuild, null>;
public declare member: CacheTypeReducer<Cached, BushGuildMember, APIInteractionGuildMember>;
public declare user: BushUser;
diff --git a/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts b/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
index 6b33c20..d33ddd3 100644
--- a/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
+++ b/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
@@ -1,10 +1,16 @@
-import type { BushClient, BushGuild, BushGuildMember, BushTextBasedChannels, BushUser } from '#lib';
+import type { BushClient, BushGuild, BushGuildMember, BushGuildTextBasedChannel, BushTextBasedChannels, BushUser } from '#lib';
import type { APIInteractionGuildMember } from 'discord-api-types/v9';
import { SelectMenuInteraction, type CacheType, type CacheTypeReducer } from 'discord.js';
import type { RawMessageSelectMenuInteractionData } from 'discord.js/typings/rawDataTypes';
export class BushSelectMenuInteraction<Cached extends CacheType = CacheType> extends SelectMenuInteraction<Cached> {
- public declare readonly channel: CacheTypeReducer<Cached, BushTextBasedChannels | null>;
+ public declare readonly channel: CacheTypeReducer<
+ Cached,
+ BushGuildTextBasedChannel | null,
+ BushGuildTextBasedChannel | null,
+ BushGuildTextBasedChannel | null,
+ BushTextBasedChannels | null
+ >;
public declare readonly guild: CacheTypeReducer<Cached, BushGuild, null>;
public declare member: CacheTypeReducer<Cached, BushGuildMember, APIInteractionGuildMember>;
public declare user: BushUser;
diff --git a/src/listeners/other/promiseRejection.ts b/src/listeners/other/promiseRejection.ts
index 699b676..69a62c7 100644
--- a/src/listeners/other/promiseRejection.ts
+++ b/src/listeners/other/promiseRejection.ts
@@ -12,6 +12,11 @@ export default class PromiseRejectionListener extends BushListener {
}
public override async exec(error: Error) {
+ process.listeners('unhandledRejection').forEach((listener) => {
+ if (listener.toString() === this.exec.toString()) return;
+ process.removeListener('unhandledRejection', listener);
+ });
+
client.sentry.captureException(error, {
level: Severity.Error
});
diff --git a/src/listeners/other/uncaughtException.ts b/src/listeners/other/uncaughtException.ts
index 34dcdd6..b650620 100644
--- a/src/listeners/other/uncaughtException.ts
+++ b/src/listeners/other/uncaughtException.ts
@@ -12,6 +12,10 @@ export default class UncaughtExceptionListener extends BushListener {
}
public override async exec(error: Error) {
+ process.listeners('uncaughtException').forEach((listener) => {
+ if (listener.toString() === this.exec.toString()) return;
+ process.removeListener('uncaughtException', listener);
+ });
client.sentry.captureException(error, {
level: Severity.Error
});
diff --git a/yarn.lock b/yarn.lock
index 22a3b8a..f08e0d1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6,11 +6,11 @@ __metadata:
cacheKey: 8
"@babel/runtime@npm:^7.16.0":
- version: 7.16.3
- resolution: "@babel/runtime@npm:7.16.3"
+ version: 7.16.5
+ resolution: "@babel/runtime@npm:7.16.5"
dependencies:
regenerator-runtime: ^0.13.4
- checksum: ab8ac887096d76185ddbf291d28fb976cd32473696dc497ad4905b784acbd5aa462533ad83a5c5104e10ead28c2e0e119840ee28ed8eff90dcdde9d57f916eda
+ checksum: b96e67280efe581c6147b4fe984dfe08a8fbea048934a092f3cbf4dcf61725f6b221cb0c879b6e6e98671f83a104c9e8cfbd24c683e5ebcc886a731aa8984ad0
languageName: node
linkType: hard
@@ -133,7 +133,7 @@ __metadata:
languageName: node
linkType: hard
-"@notenoughupdates/discord.js-minesweeper@npm:^1.0.8":
+"@notenoughupdates/discord.js-minesweeper@npm:^1.0.9":
version: 1.0.9
resolution: "@notenoughupdates/discord.js-minesweeper@npm:1.0.9"
dependencies:
@@ -567,12 +567,12 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/eslint-plugin@npm:^5.6.0":
- version: 5.6.0
- resolution: "@typescript-eslint/eslint-plugin@npm:5.6.0"
+"@typescript-eslint/eslint-plugin@npm:^5.7.0":
+ version: 5.7.0
+ resolution: "@typescript-eslint/eslint-plugin@npm:5.7.0"
dependencies:
- "@typescript-eslint/experimental-utils": 5.6.0
- "@typescript-eslint/scope-manager": 5.6.0
+ "@typescript-eslint/experimental-utils": 5.7.0
+ "@typescript-eslint/scope-manager": 5.7.0
debug: ^4.3.2
functional-red-black-tree: ^1.0.1
ignore: ^5.1.8
@@ -585,66 +585,66 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
- checksum: aeae8c2de535cad6032c0b27fbb86baccd07788319efd5a97d828bc03a85eae5e635aff794a1d7a2b3ee2a84d6d6d7e68c42438fee62af42fead89f381df7bca
+ checksum: e3674ee680e5dffecdb5d243d6c958ea8003021919d1b2068a3bebfde8e5303b3cecbc28cd144e1bacececb638b3d90fd3e16cd9e1f2e397c0eac8f148b9d3ac
languageName: node
linkType: hard
-"@typescript-eslint/experimental-utils@npm:5.6.0":
- version: 5.6.0
- resolution: "@typescript-eslint/experimental-utils@npm:5.6.0"
+"@typescript-eslint/experimental-utils@npm:5.7.0":
+ version: 5.7.0
+ resolution: "@typescript-eslint/experimental-utils@npm:5.7.0"
dependencies:
"@types/json-schema": ^7.0.9
- "@typescript-eslint/scope-manager": 5.6.0
- "@typescript-eslint/types": 5.6.0
- "@typescript-eslint/typescript-estree": 5.6.0
+ "@typescript-eslint/scope-manager": 5.7.0
+ "@typescript-eslint/types": 5.7.0
+ "@typescript-eslint/typescript-estree": 5.7.0
eslint-scope: ^5.1.1
eslint-utils: ^3.0.0
peerDependencies:
eslint: "*"
- checksum: f708f38be41a3cb4c8c2c8573a660ce7de88f50becf53bea6679fcc8a56ba73c59f2e1a94f5a7773c8cccaf0c2e4dda679564c67764c989f8137594d6589aa4c
+ checksum: 5e9ca434d834059632bf6f227c9d7f13f143f5a42d8518df6e54db242e971bae09038d9abcc5ff3debab8ecf17c742544ff66778f6bcbc90e94d92ee358d8315
languageName: node
linkType: hard
-"@typescript-eslint/parser@npm:^5.6.0":
- version: 5.6.0
- resolution: "@typescript-eslint/parser@npm:5.6.0"
+"@typescript-eslint/parser@npm:^5.7.0":
+ version: 5.7.0
+ resolution: "@typescript-eslint/parser@npm:5.7.0"
dependencies:
- "@typescript-eslint/scope-manager": 5.6.0
- "@typescript-eslint/types": 5.6.0
- "@typescript-eslint/typescript-estree": 5.6.0
+ "@typescript-eslint/scope-manager": 5.7.0
+ "@typescript-eslint/types": 5.7.0
+ "@typescript-eslint/typescript-estree": 5.7.0
debug: ^4.3.2
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
- checksum: 7d703cfe6b0a33b35139f509bcc16065f234a11603244cee4f55e193112d93ed9cd4a6db4bcf57c6b766e8a4d602b4f2400cb8d52ea02b3fc2cdfb64e5b88a3e
+ checksum: c57f9ab2001d3fd61776eb8ae7f05d0f5beed9d78fdc1bedaf24bf5f17049b909cbcea79ad58d0059000e29716b04d536ff1522c29441d1865229a3490a95bb2
languageName: node
linkType: hard
-"@typescript-eslint/scope-manager@npm:5.6.0":
- version: 5.6.0
- resolution: "@typescript-eslint/scope-manager@npm:5.6.0"
+"@typescript-eslint/scope-manager@npm:5.7.0":
+ version: 5.7.0
+ resolution: "@typescript-eslint/scope-manager@npm:5.7.0"
dependencies:
- "@typescript-eslint/types": 5.6.0
- "@typescript-eslint/visitor-keys": 5.6.0
- checksum: 6fea574f6e911eb25258e75fc738a36099678ba96cd447d18da28209bfa5326ba4e97aa7f254ccd0415aec15ea70d0b6fb860dd985d4f9042df57d4a227ae9d1
+ "@typescript-eslint/types": 5.7.0
+ "@typescript-eslint/visitor-keys": 5.7.0
+ checksum: 8323e9787cb21c2e6c3de6bef2eb56e7e37c04f9c19413ad54964545dacc27a59ce6c19d660f4a20c0c6a368eee264d231436e9e8f221ed551abdcaf78596e12
languageName: node
linkType: hard
-"@typescript-eslint/types@npm:5.6.0":
- version: 5.6.0
- resolution: "@typescript-eslint/types@npm:5.6.0"
- checksum: 63abd287a265cb1bed06067117c11bf1c69c5db1a14ea59e13564dcd9d513ae2dac67969541f21381500139d40bbea67b269c32607d3204ab24ea8900c449293
+"@typescript-eslint/types@npm:5.7.0":
+ version: 5.7.0
+ resolution: "@typescript-eslint/types@npm:5.7.0"
+ checksum: 4573250e59ea9e0b163c3e05e44ffb4b1ba4cdcfd6081c1f0b532e4c4bbbc5eb34ff4286c81c815115a1a1690cc8b1ad7b3ed79f3798773bf494b6ed82d0396b
languageName: node
linkType: hard
-"@typescript-eslint/typescript-estree@npm:5.6.0":
- version: 5.6.0
- resolution: "@typescript-eslint/typescript-estree@npm:5.6.0"
+"@typescript-eslint/typescript-estree@npm:5.7.0":
+ version: 5.7.0
+ resolution: "@typescript-eslint/typescript-estree@npm:5.7.0"
dependencies:
- "@typescript-eslint/types": 5.6.0
- "@typescript-eslint/visitor-keys": 5.6.0
+ "@typescript-eslint/types": 5.7.0
+ "@typescript-eslint/visitor-keys": 5.7.0
debug: ^4.3.2
globby: ^11.0.4
is-glob: ^4.0.3
@@ -653,17 +653,17 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
- checksum: eb5cc53ddad6fe7772677798bcb682e859ac82674cf0adcdd7105814ddecdbb9d58a4a27f87caa68eb9f40dcc5ce1b0ce87db3cf50deffa5f7fa6c354c8bee68
+ checksum: 0a63186e7b89dc3a1607d2b838ee7b44b4471654f3e77d62687242e5cb9d2a2385312f438dcfdcb70dadcb3638a141e1660483f7bb5d2cf3563cc9a43b0b2d94
languageName: node
linkType: hard
-"@typescript-eslint/visitor-keys@npm:5.6.0":
- version: 5.6.0
- resolution: "@typescript-eslint/visitor-keys@npm:5.6.0"
+"@typescript-eslint/visitor-keys@npm:5.7.0":
+ version: 5.7.0
+ resolution: "@typescript-eslint/visitor-keys@npm:5.7.0"
dependencies:
- "@typescript-eslint/types": 5.6.0
+ "@typescript-eslint/types": 5.7.0
eslint-visitor-keys: ^3.0.0
- checksum: c1d9e2596ff4f03b52857a77ff373ca82e66c1883ea818f28c3a18e5c4877c4ac6367874f4681223e9134bcebd6560f95b9a3d12c411060d567a17d10113e9e5
+ checksum: 59f7468c37cfcb92eb0de15b7ece47dd64a56c4d03d13167140c980399a4f12f20c1df52534f486cefc46bab65e717689b81decb327d2677063c47c0a26ae875
languageName: node
linkType: hard
@@ -846,7 +846,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "bush-bot@workspace:."
dependencies:
- "@notenoughupdates/discord.js-minesweeper": ^1.0.8
+ "@notenoughupdates/discord.js-minesweeper": ^1.0.9
"@notenoughupdates/events-intercept": ^3.0.1
"@notenoughupdates/humanize-duration": ^4.0.1
"@notenoughupdates/simplify-number": ^1.0.1
@@ -865,13 +865,13 @@ __metadata:
"@types/source-map-support": ^0
"@types/tinycolor2": ^1.4.3
"@types/validator": ^13.7.0
- "@typescript-eslint/eslint-plugin": ^5.6.0
- "@typescript-eslint/parser": ^5.6.0
+ "@typescript-eslint/eslint-plugin": ^5.7.0
+ "@typescript-eslint/parser": ^5.7.0
canvas: ^2.8.0
chalk: ^5.0.0
deep-lock: ^1.0.0
discord-akairo: "npm:@notenoughupdates/discord-akairo@dev"
- discord-api-types: 0.24.0
+ discord-api-types: 0.25.2
discord.js: "npm:@notenoughupdates/discord.js@dev"
eslint: ^8.4.1
eslint-config-prettier: ^8.3.0
@@ -892,7 +892,7 @@ __metadata:
source-map-support: ^0.5.21
tinycolor2: ^1.4.2
tslib: ^2.3.1
- typescript: ^4.5.3
+ typescript: ^4.5.4
vm2: ^3.9.5
languageName: unknown
linkType: soft
@@ -1183,23 +1183,23 @@ __metadata:
languageName: node
linkType: hard
-"discord-api-types@npm:0.24.0, discord-api-types@npm:^0.24.0":
- version: 0.24.0
- resolution: "discord-api-types@npm:0.24.0"
- checksum: b1a17cb3be4ade974193cedb92fb37e51ba8f1832dfe3ec0d188ba41f255f3dab8359c9d618d32469f1e648126258f9d6ed8828dc1cb50b74d9fd9d875f3390a
- languageName: node
- linkType: hard
-
-"discord-api-types@npm:^0.25.2":
+"discord-api-types@npm:0.25.2, discord-api-types@npm:^0.25.2":
version: 0.25.2
resolution: "discord-api-types@npm:0.25.2"
checksum: bb80a9db706d8ae391ab5eae4536827832ffe744b69659029597aaf90d9b9ece6e9642bd44eb3f38b32a3783ad1eebce378403fc785ca5405f8b71d8d32678a5
languageName: node
linkType: hard
+"discord-api-types@npm:^0.24.0":
+ version: 0.24.0
+ resolution: "discord-api-types@npm:0.24.0"
+ checksum: b1a17cb3be4ade974193cedb92fb37e51ba8f1832dfe3ec0d188ba41f255f3dab8359c9d618d32469f1e648126258f9d6ed8828dc1cb50b74d9fd9d875f3390a
+ languageName: node
+ linkType: hard
+
"discord.js@npm:@notenoughupdates/discord.js@dev":
- version: 13.4.0-dev.1639359227.3e5b332
- resolution: "@notenoughupdates/discord.js@npm:13.4.0-dev.1639359227.3e5b332"
+ version: 13.4.0-dev.1639442054.4d0cb81
+ resolution: "@notenoughupdates/discord.js@npm:13.4.0-dev.1639442054.4d0cb81"
dependencies:
"@discordjs/builders": ^0.9.0
"@discordjs/collection": ^0.3.2
@@ -1210,7 +1210,7 @@ __metadata:
discord-api-types: ^0.25.2
node-fetch: ^2.6.1
ws: ^8.3.0
- checksum: f5245116d7243da2588fa49ab64e15b6b4d2c56a2cbd5fd204174cce8479dedc9b8af24a81a3f54eab6677d179a5f501685a21cd020b43b08d57aac679e6e742
+ checksum: f75689a8f5a6d195fc28cb701d1525db373d38401457c055cc6707332e5e70a7d72f6dd7f039863ed662f7f117103cf1570827f3fef77d46347040a496741bf6
languageName: node
linkType: hard
@@ -3043,23 +3043,23 @@ __metadata:
languageName: node
linkType: hard
-"typescript@npm:^4.5.3":
- version: 4.5.3
- resolution: "typescript@npm:4.5.3"
+"typescript@npm:^4.5.4":
+ version: 4.5.4
+ resolution: "typescript@npm:4.5.4"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
- checksum: 2ac278c20418882816789ad94a5d9e7f11969db7a2a23fa09e61f2fedf3814265cbd4f89d7f5b6e1f0e7be2b5f169becf5dab913d0da255b073ea3c8c324e6d4
+ checksum: 59f3243f9cd6fe3161e6150ff6bf795fc843b4234a655dbd938a310515e0d61afd1ac942799e7415e4334255e41c2c49b7dd5d9fd38a17acd25a6779ca7e0961
languageName: node
linkType: hard
-"typescript@patch:typescript@^4.5.3#~builtin<compat/typescript>":
- version: 4.5.3
- resolution: "typescript@patch:typescript@npm%3A4.5.3#~builtin<compat/typescript>::version=4.5.3&hash=493e53"
+"typescript@patch:typescript@^4.5.4#~builtin<compat/typescript>":
+ version: 4.5.4
+ resolution: "typescript@patch:typescript@npm%3A4.5.4#~builtin<compat/typescript>::version=4.5.4&hash=493e53"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
- checksum: 3c3a664dfb66e7c45d3823cc1a4038dc506415041f39249ed3af1799a64b3065448549d9e9ba509c94335d1e2dfbe311a4b9e36574e87d248f9381d541cb8626
+ checksum: 2e488dde7d2c4a2fa2e79cf2470600f8ce81bc0563c276b72df8ff412d74456ae532ba824650ae936ce207440c79720ddcfaa25e3cb4477572b8534fa4e34d49
languageName: node
linkType: hard