fix bug command

This commit is contained in:
Lio Young 2021-07-08 22:16:48 +02:00
parent 0903e72c57
commit 7114c52ac0
1 changed files with 2 additions and 2 deletions

View File

@ -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