From 9b7e331c5b40fc9c7ff0d0611ebfe96473b59113 Mon Sep 17 00:00:00 2001 From: Bella | Nightshade <47324660+xBelladonna@users.noreply.github.com> Date: Sun, 31 Mar 2019 04:05:13 +0930 Subject: [PATCH] Update token disclaimer, add checkmark reaction on token command issue (#67) * Update token disclaimer, add checkmark reaction on token command issue * Changed reaction to message confirmation --- src/pluralkit/bot/commands/api_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pluralkit/bot/commands/api_commands.py b/src/pluralkit/bot/commands/api_commands.py index 71814bee..d17d8163 100644 --- a/src/pluralkit/bot/commands/api_commands.py +++ b/src/pluralkit/bot/commands/api_commands.py @@ -1,6 +1,6 @@ from pluralkit.bot.commands import CommandContext -disclaimer = "Please note that this grants access to modify (and delete!) all your system data, so keep it safe and secure. If it leaks or you need a new one, you can invalidate this one with `pk;token refresh`." +disclaimer = "\u26A0 Please note that this grants access to modify (and delete!) all your system data, so keep it safe and secure. If it leaks or you need a new one, you can invalidate this one with `pk;token refresh`." async def token_root(ctx: CommandContext): @@ -20,6 +20,7 @@ async def token_get(ctx: CommandContext): token_message = "{}\n\u2705 Here's your API token:".format(disclaimer) if token: + await ctx.reply_ok("DM'd!") await ctx.message.author.send(token_message) await ctx.message.author.send(token) return