aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/recruitment/talentpool/_cog.py6
-rw-r--r--bot/exts/recruitment/talentpool/_review.py12
2 files changed, 9 insertions, 9 deletions
diff --git a/bot/exts/recruitment/talentpool/_cog.py b/bot/exts/recruitment/talentpool/_cog.py
index a49543806..72604be51 100644
--- a/bot/exts/recruitment/talentpool/_cog.py
+++ b/bot/exts/recruitment/talentpool/_cog.py
@@ -10,7 +10,7 @@ from discord.ext.commands import Cog, Context, group, has_any_role
from bot.api import ResponseCodeError
from bot.bot import Bot
-from bot.constants import Channels, Guild, MODERATION_ROLES, STAFF_ROLES, Webhooks
+from bot.constants import Channels, Emojis, Guild, MODERATION_ROLES, STAFF_ROLES, Webhooks
from bot.converters import FetchedMember
from bot.exts.moderation.watchchannels._watchchannel import WatchChannel
from bot.exts.recruitment.talentpool._review import Reviewer
@@ -332,7 +332,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"):
"""Mark a user's nomination as reviewed and cancel the review task."""
if not await self.reviewer.mark_reviewed(ctx, user_id):
return
- await ctx.send(f"✅ The user with ID `{user_id}` was marked as reviewed.")
+ await ctx.send(f"{Emojis.check_mark} The user with ID `{user_id}` was marked as reviewed.")
@nomination_group.command(aliases=('gr',))
@has_any_role(*MODERATION_ROLES)
@@ -353,7 +353,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"):
return
await self.reviewer.post_review(user_id, update_database=False)
- await ctx.message.add_reaction("✅")
+ await ctx.message.add_reaction(Emojis.check_mark)
@Cog.listener()
async def on_member_ban(self, guild: Guild, user: Union[User, Member]) -> None:
diff --git a/bot/exts/recruitment/talentpool/_review.py b/bot/exts/recruitment/talentpool/_review.py
index 55b162cf0..11aa3b62b 100644
--- a/bot/exts/recruitment/talentpool/_review.py
+++ b/bot/exts/recruitment/talentpool/_review.py
@@ -77,7 +77,7 @@ class Reviewer:
log.trace(f"Posting the review of {user_id}")
message = (await self._bulk_send(channel, review))[-1]
if seen_emoji:
- for reaction in (seen_emoji, "👍", "👎"):
+ for reaction in (seen_emoji, "\N{THUMBS UP SIGN}", "\N{THUMBS DOWN SIGN}"):
await message.add_reaction(reaction)
if update_database:
@@ -98,7 +98,7 @@ class Reviewer:
if not member:
return (
- f"I tried to review the user with ID `{user_id}`, but they don't appear to be on the server 😔"
+ f"I tried to review the user with ID `{user_id}`, but they don't appear to be on the server :pensive:"
), None
opening = f"<@&{Roles.moderators}> <@&{Roles.admins}>\n{member.mention} ({member}) for Helper!"
@@ -267,10 +267,10 @@ class Reviewer:
@staticmethod
def _random_ducky(guild: Guild) -> Union[Emoji, str]:
- """Picks a random ducky emoji to be used to mark the vote as seen. If no duckies found returns 👀."""
+ """Picks a random ducky emoji to be used to mark the vote as seen. If no duckies found returns :eyes:."""
duckies = [emoji for emoji in guild.emojis if emoji.name.startswith("ducky")]
if not duckies:
- return "👀"
+ return ":eyes:"
return random.choice(duckies)
@staticmethod
@@ -300,12 +300,12 @@ class Reviewer:
await self._pool.fetch_user_cache()
if user_id not in self._pool.watched_users:
log.trace(f"Can't find a nominated user with id {user_id}")
- await ctx.send(f"❌ Can't find a currently nominated user with id `{user_id}`")
+ await ctx.send(f":x: Can't find a currently nominated user with id `{user_id}`")
return False
nomination = self._pool.watched_users[user_id]
if nomination["reviewed"]:
- await ctx.send("❌ This nomination was already reviewed, but here's a cookie 🍪")
+ await ctx.send(":x: This nomination was already reviewed, but here's a cookie :cookie:")
return False
await self.bot.api_client.patch(f"{self._pool.api_endpoint}/{nomination['id']}", json={"reviewed": True})