Skip to content

Commit ddab052

Browse files
authored
black formatting
Signed-off-by: lorenzo132 <[email protected]>
1 parent b0e03b0 commit ddab052

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

core/thread.py

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

0 commit comments

Comments
 (0)