Untitled

mail@pastecode.io avatar
unknown
python
a month ago
744 B
2
Indexable
Never
@tree.command(guild=discord.Object(id=1251370282866704425),name = 'painel_ticket', description='Crie um Menu ticket')
@commands.has_permissions(manage_guild=True)
async def setup(interaction: discord.Interaction):
    embed1 = discord.Embed(
        colour= 16722474,
        title= 'Suporte',
        description="> Nós temos uma equipe **especializada** para um excelente atendimento ao usuário."
    )
    #embed1.set_image(url="COLOCAR IMAGEM AQUI")
    if interaction.permissions.manage_guild:
        await interaction.response.send_message("Painel criado",ephemeral=True)
        await interaction.channel.send(embed=embed1,view=DropdownView()) 
    else:await interaction.response.send_message(mensagemerro,ephemeral=True)
Leave a Comment