diff options
-rw-r--r-- | bot/exts/recruitment/helper_utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/exts/recruitment/helper_utils.py b/bot/exts/recruitment/helper_utils.py index fe264f647..ca8ac3760 100644 --- a/bot/exts/recruitment/helper_utils.py +++ b/bot/exts/recruitment/helper_utils.py @@ -3,6 +3,7 @@ import random import re import arrow +import discord from async_rediscache import RedisCache from discord import Message from discord.ext.commands import Cog @@ -65,7 +66,8 @@ class NewHelperUtils(Cog): if self._is_question(message.content): self.last_pinged = arrow.utcnow() - await message.reply(random.choice(self.MESSAGES)) + allowed_mentions = discord.AllowedMentions(everyone=False, roles=[discord.Object(NEW_HELPER_ROLE_ID)]) + await message.reply(random.choice(self.MESSAGES), allowed_mentions=allowed_mentions) await self.cooldown_cache.set(self.CACHE_KEY, self.last_pinged.timestamp()) |