Skip to content

Commit db9b81a

Browse files
lorenzo132sebkuip
authored andcommitted
black formatting
Signed-off-by: lorenzo132 <50767078+lorenzo132@users.noreply.github.com>
1 parent 47e30c5 commit db9b81a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

core/thread.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,16 @@ async def snooze(self, moderator=None, command_used=None, snooze_for=None):
228228
"author_name": (
229229
getattr(m.embeds[0].author, "name", "").split(" (")[0]
230230
if m.embeds and m.embeds[0].author and m.author == self.bot.user
231-
else getattr(m.author, "name", None) if m.author != self.bot.user else None
231+
else getattr(m.author, "name", None)
232+
if m.author != self.bot.user
233+
else None
232234
),
233235
"author_avatar": (
234236
getattr(m.embeds[0].author, "icon_url", None)
235237
if m.embeds and m.embeds[0].author and m.author == self.bot.user
236-
else m.author.display_avatar.url if m.author != self.bot.user else None
238+
else m.author.display_avatar.url
239+
if m.author != self.bot.user
240+
else None
237241
),
238242
}
239243
async for m in channel.history(limit=None, oldest_first=True)

0 commit comments

Comments
 (0)