minor change to /lfm to make 'type' a dropdown choice
This commit is contained in:
parent
27debbcd6b
commit
c0f40634a7
4
bot.py
4
bot.py
|
|
@ -60,6 +60,10 @@ async def on_ready():
|
|||
dungeon="Name of the dungeon",
|
||||
level="Keystone level"
|
||||
)
|
||||
@app_commands.choices(type=[
|
||||
app_commands.Choice(name="Pushing", value="pushing"),
|
||||
app_commands.Choice(name="Completion", value="completion")
|
||||
])
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue