bugfix: sing
This commit is contained in:
		| @@ -818,7 +818,7 @@ class Misc(commands.Cog): | ||||
|             recipient_normal = recipient | ||||
|             if discord.utils.raw_mentions(recipient): | ||||
|                 # There are mentions | ||||
|                 recipient_id: int = discord.utils.raw_mentions(recipient)[0] # First mention | ||||
|                 recipient_id = discord.utils.raw_mentions(recipient)[0] # First mention | ||||
|                 guild: Optional[discord.Guild] = self.bot.get_guild(ctx.guild.id) | ||||
|                 if not guild: | ||||
|                     return | ||||
|   | ||||
| @@ -65,6 +65,7 @@ class Sing(commands.Cog): | ||||
|                         await ctx.respond("*Searching...*", ephemeral=True) # Must respond to interactions within 3 seconds, per Discord | ||||
|                  | ||||
|                 parsed = self.utility.parse_song_input(song, activity) | ||||
|  | ||||
|                 if isinstance(parsed, tuple): | ||||
|                     (search_artist, search_song, search_subsearch) = parsed | ||||
|                      | ||||
|   | ||||
		Reference in New Issue
	
	Block a user