mirror of
https://github.com/thaldrin/thaldrin.git
synced 2024-08-14 23:57:21 +00:00
start with wolf command
This commit is contained in:
parent
9f2bb56912
commit
02bb7f97c1
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
|
import yiff from '../../utils/yiff';
|
||||||
import Command from '../../handler/structures/Command';
|
import Command from '../../handler/structures/Command';
|
||||||
|
import { Context } from '../../utils/types';
|
||||||
|
|
||||||
export = class Wolf extends Command {
|
export = class Wolf extends Command {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
@ -10,7 +12,8 @@ export = class Wolf extends Command {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
async command(ctx: any) {
|
async command(ctx: Context) {
|
||||||
return console.log("Wolf Command")
|
let image = await yiff.yiffy('animals', "wolf")
|
||||||
|
console.log(image)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue