Untitled

mail@pastecode.io avatar
unknown
python
17 days ago
485 B
1
Indexable
Never
class BotaoVerificar(discord.ui.View):
    def __init__(self):
        super().__init__(timeout=None)
        self.add_item(ConfigBotao4(label="Verificar", style=discord.ButtonStyle.blurple))

class ConfigBotao4(discord.ui.Button):
    def init(self, label, style):
        super().__init__(label=label, style=style)

    async def callback(self, interaction:discord.Interaction):
        #DEFINIR O EVENTO AQUI 
        verificar = interaction.guild.get_role(id_verificado)
Leave a Comment