This commit is contained in:
Lio Young 2021-04-10 03:53:44 +02:00
parent 908d330378
commit 25735dacd9
No known key found for this signature in database
GPG Key ID: 789795A11879E169
2 changed files with 24 additions and 1 deletions

18
src/modules/images/fox.ts Normal file
View File

@ -0,0 +1,18 @@
import { Context } from '../../utils/types';
import Command from '../../handler/structures/Command';
export = class Wolf extends Command {
constructor() {
super({
name: "fox",
description: "Show a Fox",
aliases: ["yip"],
cooldown: 0,
})
}
async command(ctx: Context) {
// await find('foxes')
return console.log("Fox Command")
}
}

View File

@ -1,7 +1,12 @@
import Yiff from 'yiff'
import config from '../../config'
import pkg from '../../package.json'
let yiff = new Yiff({
useragent: `Thaldrin/v${pkg.version} (t8.pm/bot)`
useragent: `Thaldrin/v${pkg.version} (t8.pm/bot)`,
apikey: {
sheri: config.apis.sheri,
yiffrest: config.apis.yiffrest
}
})
export default yiff