@client.event
async def on_ready():
await client.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="чилловое музло"), status=discord.Status.idle)
import discord
token = "TOKEN"
activity = discord.Activity(type=discord.ActivityType.playing, name="Хабр QNA")
bot = discord.Client(activity=activity)
@bot.event
async def on_ready():
print(bot.user.name + " ready.")
bot.run(token)