I can't put my discord bot online

Hi, today i started to create a bot along with the video Code a Discord Bot with Python - Host for Free in the Cloud - YouTube
but in the part where he puts the bot online, my program don’t work. The message in the console does not appear, instead it appears nothing.
here is my code link.

Check the indentation on the client.run method. It is currently sitting in the on_message function instead of in the main body of the script.

Ok, it works now, thanks a lot.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.