You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, THANK YOU! I been looking for a cog like this a long time! And the code reads like it's even better than Mee6's version for sure. But I can't get it to run properly ;<
I'm able to get the Cog to run, but half of the script wont work, since it's unable to perform half the commands.
It's probably user error , but I even located the dataIO file and see that the name fileIOis defined.. What could be the issue causing it to NOT be defined in the main Levels cog?
Thanks for any support!
Ignoring exception in message
Traceback (most recent call last):
File "lib\discord\ext\commands\bot.py", line 252, in _run_extra
yield from coro(*args, **kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\Red\cog
s\Levels.py", line 195, in gain_xp
fileIO("data/levels/leader_board.json", "save", self.leader_board)
NameError: name 'fileIO' is not defined
The text was updated successfully, but these errors were encountered:
First off, THANK YOU! I been looking for a cog like this a long time! And the code reads like it's even better than Mee6's version for sure. But I can't get it to run properly ;<
I'm able to get the Cog to run, but half of the script wont work, since it's unable to perform half the commands.
It's probably user error , but I even located the dataIO file and see that the name fileIO is defined.. What could be the issue causing it to NOT be defined in the main Levels cog?
Thanks for any support!
The text was updated successfully, but these errors were encountered: