thaldrin/src/utils/yiff.ts

16 lines
392 B
TypeScript
Raw Normal View History

2021-04-08 23:33:22 +00:00
import Yiff from 'yiff'
2021-04-10 01:53:44 +00:00
import config from '../../config'
2021-04-08 23:33:22 +00:00
import pkg from '../../package.json'
let yiff = new Yiff({
useragent: `${config.variables.name}/v${pkg.version} (t8.pm/bot)`,
2021-04-21 00:28:35 +00:00
killswitch: {
enabled: false
},
2021-04-10 01:53:44 +00:00
apikey: {
sheri: config.apis.sheri,
2021-04-19 20:32:52 +00:00
yiffrest: config.apis.yiffrest,
thaldrin: config.apis.thaldrin
2021-04-10 01:53:44 +00:00
}
2021-04-08 23:33:22 +00:00
})
export default yiff