Skip to content

Commit afb6567

Browse files
committed
black
1 parent 6fa943f commit afb6567

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

redbot/cogs/streams/streams.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ async def trovo(self, ctx: commands.Context, channel_name: str):
334334
"""Check if a Trovo channel is live."""
335335
token = await self.bot.get_shared_api_tokens("trovo")
336336
stream = TrovoStream(name=channel_name, token=token)
337+
337338
@commands.guild_only()
338339
@commands.command()
339340
async def kickstream(self, ctx: commands.Context, channel_name: str):

redbot/cogs/streams/streamtypes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,8 @@ def make_embed(self, data: dict):
576576
if category := data["category_name"]:
577577
embed.set_footer(text=_("Playing: ") + category)
578578
return embed
579+
580+
579581
class KickStream(Stream):
580582
token_name = "kick"
581583
platform_name = "Kick"

redbot/core/bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,8 +2465,8 @@ async def send_interactive(
24652465
ret.append(msg)
24662466
n_remaining = len(messages) - idx
24672467
files_perm = (
2468-
not channel.guild
2469-
or not hasattr(channel, 'permissions_for')
2468+
not channel.guild
2469+
or not hasattr(channel, "permissions_for")
24702470
or channel.permissions_for(channel.guild.me).attach_files
24712471
)
24722472
options = ("more", "file") if files_perm else ("more",)

0 commit comments

Comments
 (0)