discord_bot.py
discord_bot.py copied to clipboard
Bug after installation
Hi !
I have follow the tutorial, and when i lauch the py :
File "index.py", line 25
bot.load_extension(f"cogs.{name}")
^
SyntaxError: invalid syntax
Thx
Check your python version by typing in CMD/Terminal:
python -V

It must be 3.6 or above
Python 2.7.3 on linux2 ;(
Sadly you are required to have 3.6 or above to use it.
I don't, i have always a bot for Discord, he don't support py >3.X.. :(
Well, I'll close this for now, as you only need to upgrade python to get it.