I am creating a LINK style button, getting an error.
How I create it:
shop_button = Button(style=ButtonStyle.LINK, label='Buy Tokens', url='https://google.com', emoji=PartialEmoji(id='1075540183941914788'))
The error that comes up:
ValueError: Unknown component type of <Button type=2 style=5 label=Buy Tokens emoji=:tokens: custom_id=None url=https://google.com disabled=False> (<class 'interactions.models.discord.components.Button'>). Expected str, dict or list
Last full line of stacktrace:
File "stuff/was/here/venv/lib/python3.11/site-packages/interactions/models/discord/components.py", line 702, in get_components_ids
raise ValueError(f"Unknown component type of {component} ({type(component)}). " f"Expected str, dict or list")
ValueError: Unknown component type of <Button type=2 style=5 label=Buy Tokens emoji=:tokens: custom_id=None url=https://google.com disabled=False> (<class 'interactions.models.discord.components.Button'>). Expected str, dict or list