From 35f49fb94ab42c93988d99bce9b786bbd3af1ec6 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 9 Nov 2023 11:44:18 +1100 Subject: [PATCH] fix: Clarify missing verify role message --- bot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 3955432..6ead36c 100644 --- a/bot.py +++ b/bot.py @@ -208,12 +208,10 @@ async def on_reaction_add(reaction, user): if str(reaction.message.guild.id) in roles: if roles[str(reaction.message.guild.id)] not in [role.id for role in user.roles]: - await reaction.message.channel.send("You don't have permission to approve this gift") + await reaction.message.channel.send("You don't have permission to approve this gift\nRun /verify to be eligable to approve gifts") return else: - message = "You don't have permission to approve this gift\n" - message += "Run /verify to be eligable to approve gifts" - await reaction.message.channel.send(message) + await reaction.message.channel.send("You don't have permission to approve this gift\nRun /verify to be eligable to approve gifts") return if (datetime.datetime.now() - faucet_message["time"]).total_seconds() > 900: