Home > Software design >  Discord python bot streaming activity
Discord python bot streaming activity

Time:02-26

Nothing error, but the bot is not run.

@client.event
async def on_ready():
    DiscordComponents(client)
    await client_presence(activity=discord.stream(name=f"Yesya"))

CodePudding user response:

@client.event
async def on_ready():
    DiscordComponents(client)
    await client.change_presence(activity=discord.Streaming(name=f"name", url='twitch link'))
  • Related