From 7fd4bd40f49b07a584b2a2c5e071b6624d9dfe09 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sat, 27 Aug 2022 22:01:17 -0400 Subject: node-canvas -> @napi-rs/canvas ts 4.7.4 -> 4.8.2 --- src/commands/dev/eval.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/dev') diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts index fdef3ac..dd21454 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/eval.ts @@ -18,9 +18,9 @@ import { type CommandMessage, type SlashMessage } from '#lib'; +import canvas from '@napi-rs/canvas'; import { Snowflake as Snowflake_ } from '@sapphire/snowflake'; import assert from 'assert/strict'; -import { Canvas } from 'canvas'; import { exec } from 'child_process'; import { ActionRow, @@ -56,7 +56,7 @@ const { transpile } = ts, /* eslint-enable @typescript-eslint/no-unused-vars */ // prettier-ignore -assertAll(ActivePunishment, BushCommand, Global, Guild, Level, ModLog, Shared, StickyRole, Snowflake_, Canvas, exec, ActionRow, ButtonComponent, ButtonInteraction, Collection, Collector, CommandInteraction, ContextMenuCommandInteraction, DMChannel, Embed, Emoji, InteractionCollector, Message, Attachment, MessageCollector, OAuth2Scopes, PermissionFlagsBits, PermissionsBitField, ReactionCollector, SelectMenuComponent, path, ts, fileURLToPath, promisify, assert, transpile, sh, SnowflakeUtil, __dirname); +assertAll(ActivePunishment, BushCommand, Global, Guild, Level, ModLog, Shared, StickyRole, Snowflake_, canvas, exec, ActionRow, ButtonComponent, ButtonInteraction, Collection, Collector, CommandInteraction, ContextMenuCommandInteraction, DMChannel, Embed, Emoji, InteractionCollector, Message, Attachment, MessageCollector, OAuth2Scopes, PermissionFlagsBits, PermissionsBitField, ReactionCollector, SelectMenuComponent, path, ts, fileURLToPath, promisify, assert, transpile, sh, SnowflakeUtil, __dirname); export default class EvalCommand extends BushCommand { public constructor() { -- cgit