Error in command 'character info' - TypeError: 'NoneType' object is not subscriptable
Traceback:
[03/04/2017 23:27] ERROR red on_command_error 363: Exception in command 'character info'
Traceback (most recent call last):
File "lib/discord/ext/commands/core.py", line 50, in wrapped
ret = yield from coro(*args, **kwargs)
File "/opt/Red-DiscordBot/cogs/guildwars2.py", line 331, in _info
gname = guild["name"]
Error occurs if Character is not in a guild, working on this
Error in command 'character info' - TypeError: 'NoneType' object is not subscriptable
Traceback: [03/04/2017 23:27] ERROR red on_command_error 363: Exception in command 'character info' Traceback (most recent call last): File "lib/discord/ext/commands/core.py", line 50, in wrapped ret = yield from coro(*args, **kwargs) File "/opt/Red-DiscordBot/cogs/guildwars2.py", line 331, in _info gname = guild["name"]
Error occurs if Character is not in a guild, working on this