small changes

This commit is contained in:
Lio Young 2021-04-21 02:28:35 +02:00
parent d4ed670821
commit 3d242f8426
No known key found for this signature in database
GPG Key ID: 789795A11879E169
3 changed files with 6 additions and 3 deletions

View File

@ -25,6 +25,6 @@ export default class Command {
} }
async run(ctx: Context) { async run(ctx: Context) {
ctx.channel.send("This is the deafault Command, overwrite me.") ctx.channel.send("This is the default command, overwrite me.")
} }
}; };

View File

@ -121,8 +121,8 @@ interface Pkg {
main: string; main: string;
scripts: Scripts; scripts: Scripts;
repository: Repository; repository: Repository;
keywords: any[]; keywords?: any[];
author: string; author?: string;
license: string; license: string;
bugs: Bugs; bugs: Bugs;
homepage: string; homepage: string;

View File

@ -3,6 +3,9 @@ import config from '../../config'
import pkg from '../../package.json' import pkg from '../../package.json'
let yiff = new Yiff({ let yiff = new Yiff({
useragent: `${config.variables.name}/v${pkg.version} (t8.pm/bot)`, useragent: `${config.variables.name}/v${pkg.version} (t8.pm/bot)`,
killswitch: {
enabled: false
},
apikey: { apikey: {
sheri: config.apis.sheri, sheri: config.apis.sheri,
yiffrest: config.apis.yiffrest, yiffrest: config.apis.yiffrest,