another fix for thread creation.
This commit is contained in:
parent
974057cd58
commit
27debbcd6b
2
bot.py
2
bot.py
|
|
@ -98,7 +98,7 @@ async def lfm(interaction: discord.Interaction, type: str, dungeon: str, level:
|
|||
thread_name = f"{full_dungeon_name} - +{level} - {type.capitalize()}"
|
||||
|
||||
# Create the thread
|
||||
thread = await interaction.channel.create_thread(name=thread_name, message=interaction.message)
|
||||
thread = await interaction.channel.create_thread(name=thread_name, message=interaction.message,type=discord.ChannelType.public_thread)
|
||||
|
||||
# Tag the user in the message
|
||||
user_mention = interaction.user.mention # This will mention the user
|
||||
|
|
|
|||
Loading…
Reference in New Issue