aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/seasons/valentines/be_my_valentine.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/seasons/valentines/be_my_valentine.py b/bot/seasons/valentines/be_my_valentine.py
index ad543315..1c387f66 100644
--- a/bot/seasons/valentines/be_my_valentine.py
+++ b/bot/seasons/valentines/be_my_valentine.py
@@ -8,7 +8,8 @@ import discord
from discord.ext import commands
from discord.ext.commands.cooldowns import BucketType
-from bot.constants import Colours, Lovefest
+from bot.constants import Colours, Lovefest, Roles
+from bot.decorators import with_role
log = logging.getLogger(__name__)
@@ -43,6 +44,7 @@ class BeMyValentine:
else:
await ctx.send("You already have the role !")
+ @with_role(Roles.moderator)
@commands.command(name='refreshlovefest')
async def refresh_user_lovefestlist(self, ctx):
"""