summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-30 14:30:04 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-30 14:30:04 +0200
commit03b175e8972d7de1a3a05232d6eee6bc3f53c23c (patch)
treedada097232ee63c70c97670943a9a463c80b5eae
parent5b3b8b4f4d0898dd9f0519c4a374e63049621aac (diff)
downloaddiscordbot-03b175e8972d7de1a3a05232d6eee6bc3f53c23c.tar.gz
discordbot-03b175e8972d7de1a3a05232d6eee6bc3f53c23c.zip
hotfix gamers
-rw-r--r--responses.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/responses.js b/responses.js
index 18b42a4..55baabb 100644
--- a/responses.js
+++ b/responses.js
@@ -129,12 +129,14 @@ ${picks}
module.exports.rotateGameStatus = (client) => {
(async function rotate() {
+ /*
const gamers = await api.getGamers(),
idx = Math.floor(Math.random() * (gamers.length - 1)) + 1;
if (PREVIEW) await client.user.setGame(
`?v ${gamers[idx]} | preview.vainsocial.com`);
else await client.user.setGame(
`!v ${gamers[idx]} | vainsocial.com`);
+ */
setTimeout(rotate, IGN_ROTATE_TIMEOUT * 1000);
})();
}