From d664c68ecd81b2e25fd09c6de69ecafdc13a0b95 Mon Sep 17 00:00:00 2001 From: Sebastiaan Zeeff Date: Mon, 30 Nov 2020 18:42:41 +0100 Subject: Clarify text of DM with Advent of Code join code --- bot/exts/christmas/advent_of_code/_cog.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/bot/exts/christmas/advent_of_code/_cog.py b/bot/exts/christmas/advent_of_code/_cog.py index 646671c7..2a1a776b 100644 --- a/bot/exts/christmas/advent_of_code/_cog.py +++ b/bot/exts/christmas/advent_of_code/_cog.py @@ -233,12 +233,14 @@ class AdventOfCode(commands.Cog): await ctx.send(embed=error_embed) return - info_str = ( - "Head over to https://adventofcode.com/leaderboard/private " - f"with code `{join_code}` to join the Python Discord leaderboard!" - ) + info_str = [ + "To join our leaderboard, follow these steps:", + "• Log in on https://adventofcode.com", + "• Head over to https://adventofcode.com/leaderboard/private", + f"• Use this code `{join_code}` to join the Python Discord leaderboard!", + ] try: - await author.send(info_str) + await author.send("\n".join(info_str)) except discord.errors.Forbidden: log.debug(f"{author.name} ({author.id}) has disabled DMs from server members") await ctx.send(f":x: {author.mention}, please (temporarily) enable DMs to receive the join code") -- cgit v1.2.3