From 02bb7f97c1b0da46b1a47882fd874704d76a9004 Mon Sep 17 00:00:00 2001 From: Lio Young Date: Sat, 10 Apr 2021 23:28:17 +0200 Subject: [PATCH] start with wolf command --- src/modules/images/wolf.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/images/wolf.ts b/src/modules/images/wolf.ts index b488486..34278bd 100644 --- a/src/modules/images/wolf.ts +++ b/src/modules/images/wolf.ts @@ -1,4 +1,6 @@ +import yiff from '../../utils/yiff'; import Command from '../../handler/structures/Command'; +import { Context } from '../../utils/types'; export = class Wolf extends Command { constructor() { @@ -10,7 +12,8 @@ export = class Wolf extends Command { }) } - async command(ctx: any) { - return console.log("Wolf Command") + async command(ctx: Context) { + let image = await yiff.yiffy('animals', "wolf") + console.log(image) } } \ No newline at end of file