junepark678 / GIRRewrite

Continuation line under-indented for visual indent FLK-E128
Style
Minor
a year agoa year old
continuation line under-indented for visual indent
339            
340        def wait_check(reaction, user):
341            res = (user.id != self.bot.user.id
342                and reaction.message.id == info.message.id)343            
344            if info.reactions:
345                res = res and str(reaction.emoji) in info.reactions
continuation line under-indented for visual indent
 57            phrases_prompt_string = phrases_prompt_string[:3500] + "\n... (and some more)"
 58
 59        embed = discord.Embed(title="Confirm raidphrase batch",
 60                        color=discord.Color.dark_orange(), 61                        description=f"{phrases_prompt_string}\n\nShould we add these {len(new_phrases)} phrases?")
 62
 63        if duplicate_count > 0:
continuation line under-indented for visual indent
 58
 59        embed = discord.Embed(title="Confirm raidphrase batch",
 60                        color=discord.Color.dark_orange(),
 61                        description=f"{phrases_prompt_string}\n\nShould we add these {len(new_phrases)} phrases?") 62
 63        if duplicate_count > 0:
 64            embed.set_footer(text=f"Note: we found {duplicate_count} duplicates in your list.")
continuation line under-indented for visual indent
 950                    title=header,
 951                    description=description)
 952                .add_field(name=loc["queue_embed"]["embed_body"].format(len(data), YTDLSource.parse_duration(getTotalDuration(data))), value=queue)
 953                .set_footer(text=loc["queue_embed"]["page"].format(page, pages)) 954            )
 955        return embed
 956
continuation line under-indented for visual indent
 949        embed = (discord.Embed(
 950                    title=header,
 951                    description=description)
 952                .add_field(name=loc["queue_embed"]["embed_body"].format(len(data), YTDLSource.parse_duration(getTotalDuration(data))), value=queue) 953                .set_footer(text=loc["queue_embed"]["page"].format(page, pages))
 954            )
 955        return embed