From 9d73f434226a0051ff312aee49d90f5d8d30cb6d Mon Sep 17 00:00:00 2001 From: Qwerty-133 <74311372+Qwerty-133@users.noreply.github.com> Date: Sun, 17 Oct 2021 16:26:13 +0530 Subject: [PATCH] add the thread_only check to the tag command --- tagging/tagging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tagging/tagging.py b/tagging/tagging.py index 633325d..1a79b65 100644 --- a/tagging/tagging.py +++ b/tagging/tagging.py @@ -15,6 +15,7 @@ def __init__(self, bot: ModmailBot): @checks.has_permissions(PermissionLevel.SUPPORTER) @commands.command() + @checks.thread_only() async def tag(self, ctx: commands.Context, tag: Optional[str]) -> None: """ Append a tag at the beginning of the channel name.