Skip to content

Commit 0bd96b8

Browse files
committed
fix linting
1 parent 312f137 commit 0bd96b8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

cogs/modmail.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -558,9 +558,7 @@ async def args(self, ctx, *, name: str.lower = None):
558558
for i, names in enumerate(zip_longest(*(iter(sorted(self.bot.args)),) * 15)):
559559
description = format_description(i, names)
560560
embed = discord.Embed(color=self.bot.main_color, description=description)
561-
embed.set_author(
562-
name="Args", icon_url=self.bot.get_guild_icon(guild=ctx.guild, size=128)
563-
)
561+
embed.set_author(name="Args", icon_url=self.bot.get_guild_icon(guild=ctx.guild, size=128))
564562
embeds.append(embed)
565563

566564
session = EmbedPaginatorSession(ctx, *embeds)
@@ -595,9 +593,7 @@ async def args(self, ctx, *, name: str.lower = None):
595593
embed.set_author(name="Args", icon_url=self.bot.get_guild_icon(guild=ctx.guild, size=128))
596594

597595
for i, arg in enumerate(sorted(self.bot.args.items())):
598-
embeds[i // 10].add_field(
599-
name=arg[0], value=return_or_truncate(arg[1], 350), inline=False
600-
)
596+
embeds[i // 10].add_field(name=arg[0], value=return_or_truncate(arg[1], 350), inline=False)
601597

602598
session = EmbedPaginatorSession(ctx, *embeds)
603599
await session.run()

0 commit comments

Comments
 (0)