Need help with this, sry new to scripting and stuff


pls tell me what I did wrong and how can I correct it

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.