how to change label of a button component #976
-
this is a snippet of my code
but I can't change the label of a button with self.refresh_component(self) so how am I supposed to do it? |
Beta Was this translation helpful? Give feedback.
Answered by
TheSharkysNL
Feb 10, 2022
Replies: 1 comment
-
got it you need to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
TheSharkysNL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
got it you need to use
await interaction.message.edit(view=self.view)
then it will reload the buttons