aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-12-11 06:20:45 +0530
committerGravatar Shivansh-007 <[email protected]>2021-12-11 06:20:45 +0530
commit8329eea53ddb7b99166fd4afbb6719b07a73d6c1 (patch)
treef5bdec1e9fbeb804b28f88020ae300790dd14df8
parentGet member object to properly add modpings role (diff)
Fix typos
Co-authored-by: Johannes Christ <[email protected]>
-rw-r--r--bot/converters.py6
-rw-r--r--bot/exts/moderation/modpings.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/bot/converters.py b/bot/converters.py
index 7a5312467..d8df44534 100644
--- a/bot/converters.py
+++ b/bot/converters.py
@@ -576,12 +576,12 @@ class Infraction(Converter):
class DayDuration(Converter):
"""
- Convert a string representing day time (hours and minutes) to an UTC datetime object.
+ Convert a string representing day time (hours and minutes) to a UTC datetime object.
- The hours and mintues would be combined with UTC day, if no 'am' or 'pm' is passed with
+ The hours and minutes would be combined with UTC day if no 'am' or 'pm' is passed with
the string, then it is assumed that the time is in 24 hour format.
- The following formats are excepted:
+ The following formats are accepted:
- H:M
- H:M am/pm
- H am/pm
diff --git a/bot/exts/moderation/modpings.py b/bot/exts/moderation/modpings.py
index 181051acd..c7417192c 100644
--- a/bot/exts/moderation/modpings.py
+++ b/bot/exts/moderation/modpings.py
@@ -90,7 +90,7 @@ class ModPings(Cog):
mod = await get_or_fetch_member(guild, mod_id)
if not mod:
log.info(
- f"I tried to get moderator with ID `{mod_id}`, but they don't appear to be on the server :pensive:"
+ f"I tried to get moderator with ID `{mod_id}`, but they don't appear to be on the server 😔"
)
continue
@@ -218,7 +218,7 @@ class ModPings(Cog):
@has_any_role(*MODERATION_ROLES)
async def schedule_modpings(self, ctx: Context, start: DayDuration, end: DayDuration) -> None:
"""
- Schedule modpings role to be added at <start> and removed at <end> everyday at UTC time!
+ Schedule modpings role to be added at <start> and removed at <end> every day at UTC!
You can have the modpings role off for a maximum of 16 hours i.e. having the modpings role
on for a minimum of 8 hours in a day.