Home>

Excuse me. It's the second time in almost the same post, but I wrote a certain code and the command stopped working, so I returned to this code, but it does not start. Please tell me the reason

import discord
from discord.ext import commands
from discord import Embed
#Server connection display (Print function)
print ('Connecting to Discord bot server ... \ nConncting Discord bot server ... \ n-----')
#Prefix
client = commands.Bot (command_prefix ='!')
#Server connection + status
@ client.event
async def on_ready ():
    await client.change_presence (status = discord.Status.online, activity = discord.Game ('testing'))
    print ('Discord bot server connected \ nSuccessfully server connected \ n-----')