diff options
Diffstat (limited to 'bot/exts/valentines')
| -rw-r--r-- | bot/exts/valentines/be_my_valentine.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/bot/exts/valentines/be_my_valentine.py b/bot/exts/valentines/be_my_valentine.py index 1ce92203..b9cf6738 100644 --- a/bot/exts/valentines/be_my_valentine.py +++ b/bot/exts/valentines/be_my_valentine.py @@ -51,7 +51,7 @@ class BeMyValentine(commands.Cog):          """Adds the lovefest role."""          user = ctx.author          role = ctx.guild.get_role(Lovefest.role_id) -        if Lovefest.role_id not in [role.id for role in ctx.message.author.roles]: +        if role not in ctx.author.roles:              await user.add_roles(role)              await ctx.send("The Lovefest role has been added !")          else: | 
