Fixed chalk not being imported

This would throw an error before as chalk was not imported
This commit is contained in:
mrxbox98
2021-08-09 21:42:43 -07:00
committed by GitHub
parent b7e6f299f1
commit cdfbe9b140

View File

@@ -2,6 +2,7 @@ const { Client, Collection } = require('discord.js')
const fs = require('fs')
const client = new Client()
const yaml = require('js-yaml')
const chalk = require('chalk')
const config = yaml.load(fs.readFileSync('./config.yml', 'utf8'))
client.config = config