Answers for "discord.py read custom status"

0

discord.py read custom status

@bot.command() #use @client.command here if you are using client to alternate commands.Bot
async def customstatus(ctx):
    for s in ctx.author.activities:
        if isinstance(s, discord.CustomActivity):
            print(s)
Posted by: Guest on July-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language