Removing error messages are going to debug channel

This commit is contained in:
Christer Warén
2020-03-08 11:47:11 +02:00
parent b5b1387ec6
commit af44f182f6
3 changed files with 12 additions and 12 deletions

View File

@ -1,8 +1,6 @@
module.exports = {
name: 'ready',
async execute(client, Discord) {
const debugChannel = await client.channels.fetch(client.config.debug_channel);
client.debug_channel = debugChannel
if (client.config.devMode) {
console.log('dev mode');
}