diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-11 17:37:52 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-11 17:37:52 +0200 |
| commit | 870858bedcabd94171d6518d6d5f3eacbb790193 (patch) | |
| tree | 9fbfe18f48d8240660748f095dde743c3743a972 | |
| parent | 2fad80a5350b5c9a1eeaa5062996b63cabace690 (diff) | |
| download | discordbot-870858bedcabd94171d6518d6d5f3eacbb790193.tar.gz discordbot-870858bedcabd94171d6518d6d5f3eacbb790193.zip | |
guild add: don't fail on single invalid ign
| -rw-r--r-- | commands/vainsocial/guild_add.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/vainsocial/guild_add.js b/commands/vainsocial/guild_add.js index c1de856..e3a0008 100644 --- a/commands/vainsocial/guild_add.js +++ b/commands/vainsocial/guild_add.js @@ -34,10 +34,10 @@ Register IGNs to your Guild. await api.upsearchPlayer(args[idx]); let success = false; try { + playersStatus[args[idx]] = "Loading…"; do { try { await api.getPlayer(args[idx]); - playersStatus[args[idx]] = "Loading…"; success = true; } catch (err) { } await guildAddView.respond(); |
