Browse files

Fix minor bugs.

  • Loading branch information...
roncli committed Oct 20, 2018
1 parent bfd1f0c commit 608df3b6a8dae8733f2f27737affeb9076a86e6f
Showing with 3 additions and 2 deletions.
  1. +1 −0 .eslintrc
  2. +2 −2 commands.js
@@ -32,6 +32,7 @@
"max-depth": "off",
"max-len": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"max-params": "off",
"max-statements": "off",
"multiline-comment-style": "off",
@@ -177,11 +177,11 @@ class Commands {
await Discord.queue("You have been successfully added to the event. I assume you can host games, but if you cannot please issue the `!host` command to toggle this option.", channel);
await Discord.queue(`${username} has joined the tournament!`);
await Discord.queue(`${Discord.getGuildUser(user).displayName} has joined the tournament!`);
try {
if (!await Event.getRatedPlayer( {
await Event.addRatedPlayer(Discord.getGuildUser(user).displayName);
await Event.addRatedPlayer(user);
await Discord.queue(`${user} has joined the tournament, but there is no record of them participating previously. Ensure this is not an existing player using a new Discord account.`, Discord.alertsChannel);
} catch (err) {

0 comments on commit 608df3b

Please sign in to comment.