replit-discord / all-seeing-bot

Repl.it discord moderation bot
77 stars 46 forks source link

typeError: unsupported operand type(s) for +: 'NoneType' and 'str' #9

Open sahadikr1 opened 4 years ago

sahadikr1 commented 4 years ago

i got this error message , please help me to fix GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)  python main.py Traceback (most recent call last): File "main.py", line 6, in from background_tasks import bg_tasks File "/home/runner/all-seeing-bot/background_tasks.py", line 6, in from tools.read_write import read, write File "/home/runner/all-seeing-bot/tools/read_write.py", line 6, in mongo_link = os.getenv('mlab_link') + '?retryWrites=false' TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

wbourne0 commented 4 years ago

That's because you don't have the right .env variables. I haven't documented those yet.