#discord.Activity.buttons

1 messages · Page 1 of 1 (latest)

keen scaffold
#

When trying to fetch the activity buttons, it returns a list of button labels, unlike what the docs state

#

Prints this: ['Follow on Medal', 'Start Clipping with Medal']

#

docs state this

#

can someone please help on this

#

Before you ask, yes the buttons have links

keen scaffold
#

using pycord rc

jade river
#

does trying button["url"] give you anything?

#

try accessing the url and label instead of just printing

keen scaffold
#

I tried everything I can

#

and even if

#

it returns a list of dicts

#

so it would just

#

put the dict on the button label

#

but the label works with button

magic granite
keen scaffold
#

I said it would just

#

but it doesnt

magic granite
#

hmm

keen scaffold
#

@magic granite

#

ah ok you are here

magic granite
#

I'm here

keen scaffold
#

wanna hop in a vc and I will show the problem to you kekw

magic granite
#

I see the problem

keen scaffold
#

you see

magic granite
#

I wonder the cause

keen scaffold
#

ima just open up pycord files

magic granite
#

gotta check API docs

keen scaffold
#

self.buttons: List[ActivityButton] = kwargs.pop("buttons", [])

#

yea it should be working

magic granite
#

then how are you getting a list of strings

keen scaffold
#

idfk

#

lemme check my vers

#

yea idfk

#

maybe my server had some trouble installing

#

lemme check

#

my server has the same release

#

so idfk