Ok so I'm trying to take in a list of mentionables in an Option parameter. I'm doing this as a string, because I dont want to do multiple Options for this, and seemingly the only way to do it in one is to take it in as a string.
@bot.slash_command(guild_only=True,description="Host a giveaway!")
async def giveaway(
ctx: discord.ApplicationContext,
....
required_roles: Option(str, "Roles required to enter the giveaway", default='default'),
winners: Option(int, "The number of winners to pick", min_value=1, default=1)
):
print(str(required_roles)) # prints ''
await ctx.send(required_roles) #sends the ping fine
So, I take in the mention as shown, however, when I try to print it nothing is printed. I am able to send it again into a discord channel, so I'm completely confused why it seems to have the value of a blank string when printed.
No tag