#How can I check what was clicked in the Select Menu?
1 messages · Page 1 of 1 (latest)
wdym exactly? Are you trying to compare the values selected with something?
if so ^^^
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