File “main.py”, line 8
print(we have logged in as {0.user}
^
SyntaxError: invalid syntax error
how would i put it in there in this ?
import discord
client = discord.Client()
@client.event
async def on_ready():
print('WE have logged in as {0.user}
'.format(client))
@client.event
async def on_message(message):
if message.author == client.user:
return
if. message.content.startswith('$hello'):
await message.channel.send('Hello!')
client.run
What is the name on the YouTube video? Please can share
import discord
client = discord.Client()
@client.event
async def on_ready():
print('WE have logged in as {0.user}
'.format(client))
@client.event
async def on_message(message):
if message.author == client.user:
return
if. message.content.startswith(‘$hello’):
await message.channel.send(‘Hello!’)
client.run
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.