darkreflex@darkreflex-VirtualBox:~/Desktop/PokeDB$ python3 bot.py
Loaded: GeneralCommands.py
Loaded: DBCommands.py
Loaded: Streams.py
Ready.
ERROR:discord.app_commands.tree:Ignoring exception in command 'stats'
Traceback (most recent call last):
File "/home/darkreflex/.local/lib/python3.10/site-packages/discord/app_commands/commands.py", line 827, in _do_call
return await self._callback(self.binding, interaction, **params) # type: ignore
File "/home/darkreflex/Desktop/PokeDB/cogs/DBCommands.py", line 648, in stats
stats_info = DBUtils.get_stats(None)
File "/home/darkreflex/Desktop/PokeDB/utils/DBUtils.py", line 305, in get_stats
pokemon_stats[stat_type].append(int(c_list[-1][0]))
IndexError: list index out of range
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/darkreflex/.local/lib/python3.10/site-packages/discord/app_commands/tree.py", line 1248, in _call
await command._invoke_with_namespace(interaction, namespace)
File "/home/darkreflex/.local/lib/python3.10/site-packages/discord/app_commands/commands.py", line 853, in _invoke_with_namespace
return await self._do_call(interaction, transformed_values)
File "/home/darkreflex/.local/lib/python3.10/site-packages/discord/app_commands/commands.py", line 846, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'stats' raised an exception: IndexError: list index out of range