From 7114c52ac0ce3d9be52e9c014ef4c86b7a843915 Mon Sep 17 00:00:00 2001 From: Lio Young Date: Thu, 8 Jul 2021 22:16:48 +0200 Subject: [PATCH] fix bug command --- src/modules/misc/bug.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/misc/bug.ts b/src/modules/misc/bug.ts index a4f5506..73b9f4c 100644 --- a/src/modules/misc/bug.ts +++ b/src/modules/misc/bug.ts @@ -2,7 +2,7 @@ import Command from '../../handler/structures/Command'; import { Context } from '../../utils/types'; import SendWS from "../../utils/webhook"; import lingua from '../../utils/lingua'; -import { suggest } from '../../utils/trello'; +import { bug } from '../../utils/trello'; import replace from '../../utils/replace'; export = class Suggestion extends Command { constructor() { @@ -21,7 +21,7 @@ export = class Suggestion extends Command { let author = `${ctx.author.tag} (${ctx.author.id})` let guild = `${ctx.guild?.name} (${ctx.guild?.id})` - await suggest({ title, desc, author, guild }) + await bug({ title, desc, author, guild }) if (ctx.config?.webhook?.bug) await SendWS(ctx.config.webhook.bug, { title, desc, ctx }) // @ts-ignore