Check for missing methods on PS2 Helper
Created by: Anonymous
Traceback (most recent call last):
File "/usr/home/infilze/bot/env/lib/python3.6/site-packages/discord/ext/commands/core.py", line 50, in wrapped
ret = yield from coro(*args, **kwargs)
File "/usr/home/infilze/bot/discord_ps2/commands/server.py", line 136, in continents
faction = helper.factions[region['RowData']['FactionId']]
AttributeError: 'PlanetsideHelper' object has no attribute 'factions'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/home/infilze/bot/env/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 846, in process_commands
yield from command.invoke(ctx)
File "/usr/home/infilze/bot/env/lib/python3.6/site-packages/discord/ext/commands/core.py", line 374, in invoke
yield from injected(*ctx.args, **ctx.kwargs)
File "/usr/home/infilze/bot/env/lib/python3.6/site-packages/discord/ext/commands/core.py", line 54, in wrapped
raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'PlanetsideHelper' object has no attribute 'factions'