AttributeError: 'NoneType' object has no attribute 'split'
Closed this issue · 2 comments
sosiska123331827255 commented
I encountered an error while using the Discord bot script (discordbot.py). The error message states: "AttributeError: 'NoneType' object has no attribute 'split'". This issue prevents the bot from functioning
if len(bot.endpoint.split("/api")) > 0:
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'
ausboss commented
ausboss commented
I also pushed a change just now that might fix