We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 892bbf0 commit dc697a2Copy full SHA for dc697a2
cogs/help/pin.py
@@ -31,7 +31,7 @@ async def react_to_pin(self, reaction):
31
async def message_pin(self, msg):
32
if isinstance(msg.channel, discord.Thread) and msg.channel.parent_id in (HELP_FORUM_ID, CREATIONS_FORUM_ID) \
33
and (msg.author == msg.channel.owner or msg.author.guild_permissions.manage_messages):
34
- if validate(msg.content, valid_pin):
+ if validate(msg.content, valid_pin, 3):
35
try:
36
replied_msg = await msg.channel.fetch_message(msg.reference.message_id)
37
if replied_msg.pinned:
0 commit comments