diff --git a/bot.py b/bot.py index 1a517b0..d72e772 100644 --- a/bot.py +++ b/bot.py @@ -58,10 +58,9 @@ async def on_ready(): @app_commands.describe( type="Are you wanting to push? Or clear?", dungeon="Name of the dungeon", - level="Keystone level", - private="Should the thread be private?" + level="Keystone level" ) -async def lfm(interaction: discord.Interaction, type: str, dungeon: str, level: int, private: bool = False): +async def lfm(interaction: discord.Interaction, type: str, dungeon: str, level: int): # The ID of the allowed channel allowed_channel_id = 1297217492699320462 # Replace this with the correct channel ID @@ -99,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, invitable=not private) + thread = await interaction.channel.create_thread(name=thread_name, message=interaction.message) # Tag the user in the message user_mention = interaction.user.mention # This will mention the user