I haven’t done these stuff either so take it with a grain of salt, but:
AttributeError: ‘NoneType’ object has no attribute ‘strip’
This is saying that you are trying to use the string method strip
on None
, and this is the result of the line:
client.run(os.getenv('TOKEN'))
these two combined makes me wonder if you have set the environment variable TOKEN
properly.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.