diff --git a/src/modules/images/fox.ts b/src/modules/images/fox.ts new file mode 100644 index 0000000..0d16d83 --- /dev/null +++ b/src/modules/images/fox.ts @@ -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") + } +} \ No newline at end of file diff --git a/src/utils/yiff.ts b/src/utils/yiff.ts index 30c118e..9f32a9e 100644 --- a/src/utils/yiff.ts +++ b/src/utils/yiff.ts @@ -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 \ No newline at end of file