How can I change the choices of an Option depending on the writer of the slash command in pychord?
I want to give different people different Options in a slash command. Person 1 should get Options 1 2 and 3 and Person 2 should get Options 4, 5 and 6.
Pycord Unknown interaction
I’m trying to make a embed message with buttons. For support system but I’m getting Unknown interaction error. I added ephemeral=True
to defer. Also changed this interaction.response.send_message
to this interaction.followup.send()
How to remove interaction error on pycord?
How fix error interaction? I asked ChatGPT, but he led me in circles.
My select menu return to placeholder after restart
import discord import json from discord.ui import View, Select bot = discord.Bot() with open(‘config.json’, ‘r’) as f: config = json.load(f) token = config[‘token’] admin_id = config[‘admin_id’] channel_id = config[‘channel_id’] message_id = config.get(‘message_id’, None) class LanguageView(View): def __init__(self): super().__init__() self.add_item(LanguageSelect()) class LanguageSelect(Select): def __init__(self): options = [ discord.SelectOption(label=”English”, value=”en”, emoji=”????????”), discord.SelectOption(label=”Lithuanian”, value=”lt”, emoji=”????????”), discord.SelectOption(label=”Russian”, value=”ru”, emoji=”????????”) […]