aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-07-22 11:58:54 +0200
committerGravatar GitHub <[email protected]>2021-07-22 11:58:54 +0200
commit6caecf01708a37c31ff29ce5f93ebaff155af44a (patch)
treefc65507c8fe5fc31dcf293f0eca10c4350c6d9b2
parentReminder: remove unused delivery_dt parameter (diff)
parentMerge pull request #1691 from python-discord/Akarys42-patch-1 (diff)
Merge branch 'main' into utils/reminder/remove-footer
-rw-r--r--bot/exts/info/information.py2
-rw-r--r--bot/exts/recruitment/talentpool/_review.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py
index b9fcb6b40..bb713eef1 100644
--- a/bot/exts/info/information.py
+++ b/bot/exts/info/information.py
@@ -46,7 +46,7 @@ class Information(Cog):
"""Return the total number of members for certain roles in `guild`."""
roles = (
guild.get_role(role_id) for role_id in (
- constants.Roles.helpers, constants.Roles.moderators, constants.Roles.admins,
+ constants.Roles.helpers, constants.Roles.mod_team, constants.Roles.admins,
constants.Roles.owners, constants.Roles.contributors,
)
)
diff --git a/bot/exts/recruitment/talentpool/_review.py b/bot/exts/recruitment/talentpool/_review.py
index aebb401e0..3a1e66970 100644
--- a/bot/exts/recruitment/talentpool/_review.py
+++ b/bot/exts/recruitment/talentpool/_review.py
@@ -254,7 +254,7 @@ class Reviewer:
last_channel = user_activity["top_channel_activity"][-1]
channels += f", and {last_channel[1]} in {last_channel[0]}"
- joined_at_formatted = time_since(member.join_at)
+ joined_at_formatted = time_since(member.joined_at)
review = (
f"{member.name} joined the server **{joined_at_formatted}**"
f" and has **{messages} messages**{channels}."