Skip to content

Commit

Permalink
chore: bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Sep 4, 2024
1 parent 62c028f commit d397cc8
Show file tree
Hide file tree
Showing 4 changed files with 375 additions and 122 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
"watch": "tsc -w"
},
"dependencies": {
"@discordjs/builders": "^1.8.2",
"@discordjs/builders": "^1.9.0",
"@mikro-orm/sql-highlighter": "^1.0.1",
"@prisma/client": "^5.17.0",
"@prisma/client": "^5.19.1",
"@sapphire/decorators": "^6.1.0",
"@sapphire/discord-utilities": "^3.3.0",
"@sapphire/discord-utilities": "^3.4.0",
"@sapphire/discord.js-utilities": "^7.3.0",
"@sapphire/framework": "^5.2.1",
"@sapphire/plugin-logger": "^4.0.2",
"@sapphire/plugin-subcommands": "^6.0.3",
"@sapphire/plugin-subcommands": "^7.0.0",
"@sapphire/stopwatch": "^1.5.2",
"@sapphire/time-utilities": "^1.7.12",
"@sapphire/timestamp": "^1.0.3",
Expand All @@ -45,17 +45,17 @@
"bufferutil": "^4.0.8",
"colorette": "^2.0.20",
"confusables": "^1.1.1",
"discord-api-types": "0.37.83",
"discord.js": "^14.15.3",
"re2": "^1.21.3",
"tslib": "^2.6.3",
"discord-api-types": "0.37.97",
"discord.js": "^14.16.1",
"re2": "^1.21.4",
"tslib": "^2.7.0",
"utf-8-validate": "^6.0.4",
"zlib-sync": "^0.1.9"
},
"devDependencies": {
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ts-config": "^5.0.1",
"@ts-safeql/eslint-plugin": "^3.3.1",
"@ts-safeql/eslint-plugin": "^3.4.1",
"@types/is-ci": "^3.0.4",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^20.14.12",
Expand All @@ -70,14 +70,14 @@
"libpg-query": "^16.2.0",
"lodash.merge": "^4.6.2",
"prettier": "^3.3.3",
"prisma": "^5.17.0",
"prisma": "^5.19.1",
"rimraf": "^6.0.1",
"typescript": "^5.5.4",
"vitest": "^2.0.4"
"vitest": "^2.0.5"
},
"author": {
"name": "Vlad Frangu",
"email": "[email protected]"
"email": "[email protected]"
},
"engines": {
"node": ">=20.0.0"
Expand Down
1 change: 0 additions & 1 deletion src/lib/structures/HighlightManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export class HighlightManager {
}`,
);

// @ts-expect-error TS 5.5.2 shenanigans
worker.removeAllListeners();
this.createWorkerType(type);
});
Expand Down
6 changes: 4 additions & 2 deletions src/listeners/errorRelated/errorHandling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import {
bold,
codeBlock,
inlineCode,
Message,
PartialGroupDMChannel,
type InteractionReplyOptions,
type MessageCreateOptions,
} from 'discord.js';
Expand All @@ -43,7 +45,7 @@ export class MessageCommandError extends Listener<typeof Events.MessageCommandEr
maybeError,
command,
async (options) =>
message.channel.send(
(message.channel as Exclude<Message['channel'], PartialGroupDMChannel>).send(
withDeprecationWarningForMessageCommands({
commandName: command.name,
guildId: message.guildId,
Expand Down Expand Up @@ -132,7 +134,7 @@ export class MessageCommandSubcommandCommandError extends Listener<
maybeError,
command,
async (options) =>
message.channel.send(
(message.channel as Exclude<Message['channel'], PartialGroupDMChannel>).send(
withDeprecationWarningForMessageCommands({
commandName: command.name,
guildId: message.guildId,
Expand Down
Loading

0 comments on commit d397cc8

Please sign in to comment.