Closed lizardman301 closed 3 years ago
I'll test this in a moment
Two issues in one.
First is there is a problem bringing in the empty disabled list on server start that makes the command fail (This should probably be affecting more commands)
Secondly, there is the fact that the empty botrole returns a None object
Solution should be either a better default value in the database or telling python that if it is a None object to use an empty string or list instead.
I'll test the database one first since that is a better structural change and I would prefer it
Describe the bug !botrole will break the bot because it can not return a NoneType.
To Reproduce Steps to reproduce the behavior:
Expected behavior !botrole should either return "No role" or "Everyone"
Screenshots I am an idiot and deleted the message, but it occured in Mr_Madgear tourney's server.
Additional context I broke it 😢