This commit is contained in:
4
bot.py
4
bot.py
@@ -208,10 +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\nRun /verify to be eligable to approve gifts")
|
||||
await reaction.message.channel.send("You don't have permission to approve this gift\nRun /verify to be eligible to approve gifts")
|
||||
return
|
||||
else:
|
||||
await reaction.message.channel.send("You don't have permission to approve this gift\nRun /verify to be eligable to approve gifts")
|
||||
await reaction.message.channel.send("You don't have permission to approve this gift\nRun /verify to be eligible to approve gifts")
|
||||
return
|
||||
|
||||
if (datetime.datetime.now() - faucet_message["time"]).total_seconds() > 900:
|
||||
|
||||
Reference in New Issue
Block a user