From 3b12b26026cc2dbeff0e85d9c42b2d2d617f505b Mon Sep 17 00:00:00 2001 From: Matthew R Date: Thu, 16 Apr 2020 10:11:54 -0400 Subject: [PATCH] enable rest mode --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();