Ask coding questions

← Back to all posts
Discord py bot - troubles finding indentation errors
McJoe21 (1)

Iv been through my code and have trouble finding the errors it talks about

Answered by Coder100 (17144) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (17144)

Here is the working code: https://replit.com/@Coder100/Discord-py-bot-aoeuhraceo-huaorlec-h-uaeocrhuocrl#cogs/bot.py

you have some tabs and you have some spaces. What you should do is:
ctrl + a tab shift+tab

those are the commands to instantly fix that file