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'))
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement