aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Janine vN <[email protected]>2021-12-03 20:53:59 -0500
committerGravatar Janine vN <[email protected]>2021-12-03 21:51:44 -0500
commit00e3fe5bede6f8310405e143179530df0ad3ca95 (patch)
tree60b114658af4a993ed5cb5b066bdf2b72d7bcdb1
parentAdd unlink AoC command (diff)
Adjust wording on log statements to present tense
-rw-r--r--bot/exts/events/advent_of_code/_cog.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/events/advent_of_code/_cog.py b/bot/exts/events/advent_of_code/_cog.py
index 7f904f6b..b7d26cb9 100644
--- a/bot/exts/events/advent_of_code/_cog.py
+++ b/bot/exts/events/advent_of_code/_cog.py
@@ -210,12 +210,12 @@ class AdventOfCode(commands.Cog):
# Update an existing link
if old_aoc_name := await self.account_links.get(ctx.author.id):
- log.info(f"{ctx.author} ({ctx.author.id}) has changed their link from {old_aoc_name} to {aoc_name}.")
+ log.info(f"Changing link for{ctx.author} ({ctx.author.id}) from {old_aoc_name} to {aoc_name}.")
await self.account_links.set(ctx.author.id, aoc_name)
await ctx.reply(f"Your linked account has been changed to {aoc_name}.")
else:
# Create a new link
- log.info(f"{ctx.author} ({ctx.author.id}) is now linked to {aoc_name}.")
+ log.info(f"Linking {ctx.author} ({ctx.author.id}) to account {aoc_name}.")
await self.account_links.set(ctx.author.id, aoc_name)
await ctx.reply(f"You have linked your Discord ID to {aoc_name}.")
else:
@@ -246,7 +246,7 @@ class AdventOfCode(commands.Cog):
await self.account_links.delete(ctx.author.id)
await ctx.reply(f"We have removed the link between your Discord ID and {aoc_cache_name}.")
else:
- log.info(f"Attempted to unlink {ctx.author} ({ctx.author.id}), but not link was found.")
+ log.info(f"Attempted to unlink {ctx.author} ({ctx.author.id}), but no link was found.")
await ctx.reply("You don't have an Advent of Code account linked.")
@in_month(Month.DECEMBER)