Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #custom #status
ADD COMMENT
Topic
Name
4+2 =