diff --git a/src/main.ts b/src/main.ts index e792bb0..6bb4a4b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -5,7 +5,7 @@ import { Client } from './class'; async function main(): Promise { const read = await fs.readFile('../config.yaml', 'utf8'); const config: { token: string, prefix: string, guildID: string, mongoDB: string } = parse(read); - const client = new Client(config.token, { defaultImageFormat: 'png' }); + const client = new Client(config.token, { defaultImageFormat: 'png', restMode: true }); client.config = config; await client.loadDatabase(); client.loadPlugins();