K
K
kibergile2021-01-28 19:04:39
Python
kibergile, 2021-01-28 19:04:39

How to create something other than name in activity discord.py?

How to create an activity in ds.py-rewrite with the required fields, for example, I tried to create a name and a party with the fields, but only the name is displayed. Why?

await client.change_presence(status=discord.Status.online, activity = Activity(name = 'test', party = {'id': 'тут айди из discord.com/dev', 'size': [2, 5]}, type = ActivityType.playing))

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Nevzorov, 2021-01-28
@kibergile

discord.py bot activity with app?

A
Alexey Volkov, 2021-01-28
@rasxyt

I don't think it's a working code, try to measure and enterdiscord.Game

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question