From c11c381484c6ad76fb01f242895718790928cb61 Mon Sep 17 00:00:00 2001 From: Histmy Date: Wed, 23 Dec 2020 01:46:08 +0100 Subject: [PATCH] Bot will now actually start + added some new lines --- app.js | 2 +- modules/help.js | 1 + modules/status.js | 1 + modules/vojs.js | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 61fcbdd..cd65bb3 100644 --- a/app.js +++ b/app.js @@ -1,7 +1,7 @@ const { Client } = require('discord.js'); const client = new Client(); -dotenrequire('dotenv').config(); +require('dotenv').config(); const prefix = process.env.PREFIX || 'more'; const role = {online: '684443816383610916', idle: '684444083065978941', dnd: '684444020558135399', offline: '684443903759614049', onlinephone: '777989420728975390'}; diff --git a/modules/help.js b/modules/help.js index acb330f..efecc93 100644 --- a/modules/help.js +++ b/modules/help.js @@ -117,6 +117,7 @@ module.exports = (mes, komand) => { } mes.channel.send({ embed }); break; + default: return false; } diff --git a/modules/status.js b/modules/status.js index f081deb..dff8db4 100644 --- a/modules/status.js +++ b/modules/status.js @@ -29,6 +29,7 @@ module.exports = (_m, komand, _c, client) => { case 'nepritomnej': client.user.setStatus('idle'); break; + default: return false; } diff --git a/modules/vojs.js b/modules/vojs.js index 5a591cf..bdc83bd 100644 --- a/modules/vojs.js +++ b/modules/vojs.js @@ -80,6 +80,7 @@ module.exports = (mes, komand, celArgs) => { vojs.channel.leave(); mes.react('purfieRIP:644609482843881483'); break; + default: return false; }