Skip to content
Advertisement

Discord python bot streaming activity

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"))

Advertisement

Answer

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