Skip to content

Commit

Permalink
fix: Comando skipto (slash) ao incluir o nome de uma música.
Browse files Browse the repository at this point in the history
  • Loading branch information
zRitsu committed Sep 30, 2024
1 parent a7852c3 commit b5447d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -2063,7 +2063,7 @@ async def skip(

if isinstance(inter, disnake.MessageInteraction) and inter.data.custom_id == "queue_track_selection":
await inter.response.edit_message(embed=embed, view=None)
elif not isinstance(inter, CustomContext) and inter.data.custom_id == "musicplayer_queue_dropdown":
elif not isinstance(inter, (CustomContext, disnake.AppCmdInter)) and inter.data.custom_id == "musicplayer_queue_dropdown":
await inter.response.defer()
else:
await inter.send(embed=embed, ephemeral=ephemeral)
Expand Down

0 comments on commit b5447d7

Please sign in to comment.