diff options
| -rw-r--r-- | bot/exts/moderation/stream.py | 9 | ||||
| -rw-r--r-- | bot/exts/utils/reminders.py | 3 | 
2 files changed, 7 insertions, 5 deletions
| diff --git a/bot/exts/moderation/stream.py b/bot/exts/moderation/stream.py index e667006ff..01d2614b0 100644 --- a/bot/exts/moderation/stream.py +++ b/bot/exts/moderation/stream.py @@ -9,7 +9,10 @@ from async_rediscache import RedisCache  from discord.ext import commands  from bot.bot import Bot -from bot.constants import Colours, Emojis, Guild, MODERATION_ROLES, Roles, STAFF_PARTNERS_COMMUNITY_ROLES, VideoPermission +from bot.constants import ( +    Colours, Emojis, Guild, MODERATION_ROLES, Roles, +    STAFF_PARTNERS_COMMUNITY_ROLES, VideoPermission +)  from bot.converters import Expiry  from bot.pagination import LinePaginator  from bot.utils.scheduling import Scheduler @@ -193,9 +196,7 @@ class Stream(commands.Cog):      @commands.command(aliases=('lstream',))      @commands.has_any_role(*MODERATION_ROLES)      async def liststream(self, ctx: commands.Context) -> None: -        """ -        Lists all users who aren't staff, partners or members of the python community and have permission to stream. -        """ +        """Lists all users who aren't staff, partners or members of the python community and have stream permissions."""          non_staff_partners_community_members_with_stream = [              member              for member in ctx.guild.get_role(Roles.video).members diff --git a/bot/exts/utils/reminders.py b/bot/exts/utils/reminders.py index 847883fc7..2496ce5cc 100644 --- a/bot/exts/utils/reminders.py +++ b/bot/exts/utils/reminders.py @@ -228,7 +228,8 @@ class Reminders(Cog):          Expiration is parsed per: http://strftime.org/          """ -        # If the user is not staff, partner or part of the python community, we need to verify whether or not to make a reminder at all. +        # If the user is not staff, partner or part of the python community, +        # we need to verify whether or not to make a reminder at all.          if await has_no_roles_check(ctx, *STAFF_PARTNERS_COMMUNITY_ROLES):              # If they don't have permission to set a reminder in this channel | 
