how do i change streaming to Idle?

  discord, discord.py, python

how would i change below to idle and status watching the server the bot is in?

@bot.event
async def on_ready():
  print(f'Loged in as {bot.user}n')
  cmds = filter(lambda e: e.endswith(".py"), os.listdir("commands"))
  print(f"Loading Commands")
  for cmd in cmds:
    bot.load_extension(f"commands.{cmd[:-3]}")
    print(f"Loaded {cmd}")
  await bot.change_presence(activity=discord.Streaming(name=f"{len(bot.guilds)} servers  |  {prefix}help", url='https://discord.gg/Mws2mSjde6'))

Source: Python Questions

LEAVE A COMMENT