#How can I check what was clicked in the Select Menu?

1 messages · Page 1 of 1 (latest)

tawny hatch
#

select.values[0] == ""

cinder crescent
#

what I'll do is

async def callback(self,select,interaction):
  Roles = {
        "Captain": bot.get_roles(1234)
        "Medic": bot.get_roles(1234)
 }

  await interaction.user.add_roles(Roles[select.values[0]])
#

oh and ofc you need a response I believe otherwise it'll come as interaction failed even though it worked