diff options
| author | 2021-04-01 16:48:23 +0100 | |
|---|---|---|
| committer | 2021-04-01 16:48:23 +0100 | |
| commit | 0c27ccf85ce329abc596352b32883c4f8ab55bd7 (patch) | |
| tree | 1dcb3306433978a383b386feddcf141b9c5bdd47 | |
| parent | Rename function in stream cog for consistancy (diff) | |
| parent | Fix spelling errors in logging statements - Stream cog (diff) | |
Merge branch 'stream-and-revokestream-commands' of github.com:python-discord/bot into stream-and-revokestream-commands
| -rw-r--r-- | bot/exts/moderation/stream.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/stream.py b/bot/exts/moderation/stream.py index 587dc6365..6df9b46d2 100644 --- a/bot/exts/moderation/stream.py +++ b/bot/exts/moderation/stream.py @@ -48,7 +48,7 @@ class Stream(commands.Cog): member = await self.bot.get_guild(Guild.id).fetch_member(key) except discord.errors.NotFound: log.debug( - f"Member {key} left the guild before we could scheudle " + f"Member {key} left the guild before we could schedule " "the revoking of their streaming permissions." ) await self.task_cache.delete(key) @@ -107,7 +107,7 @@ class Stream(commands.Cog): @commands.has_any_role(*STAFF_ROLES) async def permanentstream(self, ctx: commands.Context, user: discord.Member) -> None: """Permanently grants the given user the permission to stream.""" - log.trace(f"Attempting to give permenant streaming permission to {user} ({user.id}).") + log.trace(f"Attempting to give permanent streaming permission to {user} ({user.id}).") # Check if user already has streaming permission already_allowed = any(Roles.video == role.id for role in user.roles) if already_allowed: |