I really need help with discord bot

File “main.py”, Line 8
Print ('we have logged in as {0.user}
^
SynTax Errror: EOL while scanning string literal

welcome, but we really need to see your code to be able to help

image

There’s a red squiggly line in your code where the issue is.

What is the syntax for a string?

also you made impossible for the bot to run as you put client.run() inside an if statement - indentation is a fondamental part of python syntax

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