@@ -149,7 +149,9 @@ async def snippet(self, ctx, *, name: str.lower = None):
149149 for i , names in enumerate (zip_longest (* (iter (sorted (self .bot .snippets )),) * 15 )):
150150 description = format_description (i , names )
151151 embed = discord .Embed (color = self .bot .main_color , description = description )
152- embed .set_author (name = "Snippets" , icon_url = self .bot .get_guild_icon (guild = ctx .guild , size = 128 ))
152+ embed .set_author (
153+ name = "Snippets" , icon_url = self .bot .get_guild_icon (guild = ctx .guild , size = 128 )
154+ )
153155 embeds .append (embed )
154156
155157 session = EmbedPaginatorSession (ctx , * embeds )
@@ -180,7 +182,9 @@ async def snippet(self, ctx, *, name: str.lower = None):
180182 embed .set_author (name = "Snippets" , icon_url = self .bot .get_guild_icon (guild = ctx .guild , size = 128 ))
181183
182184 for i , snippet in enumerate (sorted (self .bot .snippets .items ())):
183- embeds [i // 10 ].add_field (name = snippet [0 ], value = return_or_truncate (snippet [1 ], 350 ), inline = False )
185+ embeds [i // 10 ].add_field (
186+ name = snippet [0 ], value = return_or_truncate (snippet [1 ], 350 ), inline = False
187+ )
184188
185189 session = EmbedPaginatorSession (ctx , * embeds )
186190 await session .run ()
0 commit comments