From 5d9a49cc8b5ad56bfd0755b8d937b34f484e1312 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sat, 24 May 2025 11:50:31 +1000 Subject: [PATCH] fix: Remove email from faucet message --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 23f2e37..f7db5e5 100644 --- a/bot.py +++ b/bot.py @@ -50,8 +50,8 @@ async def faucet(ctx, email:str): roles = json.load(f) if str(ctx.guild.id) in roles: if roles[str(ctx.guild.id)] in [role.id for role in ctx.user.roles]: - await ctx.response.send_message("The faucet will gift you a domain when someone approves your request") - message = await ctx.channel.send("Approve this gift by reacting to this message with a 👍") + await ctx.response.send_message("The faucet will gift you a domain when someone approves your request",ephemeral=True) + message = await ctx.channel.send(f"Faucet request from {ctx.user.name} (<@{ctx.user.id}>)\n\nThis is a gift from the faucet. You will receive a domain when someone approves your request.\n\nPlease approve this gift by reacting to this message with a 👍") faucet_messages.append({ "id": message.id, "email": email,