aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-04-01 20:44:03 +0100
committerGravatar GitHub <[email protected]>2021-04-01 20:44:03 +0100
commit4962b10b20f90a849af34c4efea3512909616955 (patch)
tree3ecf0af00b95800c350e82940e0bcee774371531
parentUse tz aware timestamps and refactor for readibility - Stream cog (diff)
Reword logging and docstrings to different mood
Co-authored-by: Mark <[email protected]>
-rw-r--r--bot/exts/moderation/stream.py2
-rw-r--r--bot/utils/scheduling.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/stream.py b/bot/exts/moderation/stream.py
index 50ed01e78..e5b2f2cc7 100644
--- a/bot/exts/moderation/stream.py
+++ b/bot/exts/moderation/stream.py
@@ -105,7 +105,7 @@ class Stream(commands.Cog):
# Convert here for nicer logging and output
revoke_time = format_infraction_with_duration(str(duration))
await ctx.send(f"{Emojis.check_mark} {member.mention} can now stream until {revoke_time}.")
- log.debug(f"Successfully given {member} ({member.id}) permission to stream until {revoke_time}.")
+ log.debug(f"Successfully gave {member} ({member.id}) permission to stream until {revoke_time}.")
@commands.command(aliases=("pstream",))
@commands.has_any_role(*STAFF_ROLES)
diff --git a/bot/utils/scheduling.py b/bot/utils/scheduling.py
index b3f62257a..6843bae88 100644
--- a/bot/utils/scheduling.py
+++ b/bot/utils/scheduling.py
@@ -62,7 +62,7 @@ class Scheduler:
Schedule `coroutine` to be executed at the given `time`.
If `time` is timezone aware, then use that timezone to calculate now() when subtracting.
- If `time` is naïve, then we use UTC.
+ If `time` is naïve, then use UTC.
If `time` is in the past, schedule `coroutine` immediately.