aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-04-01 16:48:15 +0100
committerGravatar GitHub <[email protected]>2021-04-01 16:48:15 +0100
commitc38886d1bb8d0394166699d6356a5361646dd15f (patch)
tree3335e78f6f33a1d74c4f28453a997e03b8c9bba4
parentSprinkle some logging into the Stream cog (diff)
Fix spelling errors in logging statements - Stream cog
Co-authored-by: Shivansh-007 <[email protected]>
-rw-r--r--bot/exts/moderation/stream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/stream.py b/bot/exts/moderation/stream.py
index 87d3a345c..f260b9421 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: