summaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-05-08 23:15:33 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-05-08 23:15:33 +0200
commit31b4764cd5233acb25f4d0027261fe83eaad6ec7 (patch)
tree75e7c33b8284d711fb9208154a1d8db8b931a0f3 /bot.js
parentf3aa08e72c6ffdb942ea06e21ac19e28b8cd5550 (diff)
downloaddiscordbot-31b4764cd5233acb25f4d0027261fe83eaad6ec7.tar.gz
discordbot-31b4764cd5233acb25f4d0027261fe83eaad6ec7.zip
rewrite the whole thing (wip)
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot.js b/bot.js
index 5968392..1efa1e4 100644
--- a/bot.js
+++ b/bot.js
@@ -17,7 +17,6 @@ const sqlite = require("sqlite"),
invite: "https://discord.gg/txTchJY",
unknownCommandResponse: false
}),
- responses = require("./responses"),
util = require("./util");
const DISCORD_TOKEN = process.env.DISCORD_TOKEN,
@@ -46,7 +45,7 @@ client
.on("debug", logger.info)
.on("ready", () => {
logger.info(`Client ready; logged in as ${client.user.username}#${client.user.discriminator} (${client.user.id})`);
- responses.rotateGameStatus(client);
+ util.rotateGameStatus(client);
})
.on('disconnect', () => { logger.warn('Disconnected!'); })
.on('reconnecting', () => { logger.warn('Reconnecting...'); })