aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Amrou Bellalouna <[email protected]>2023-03-09 10:13:44 +0100
committerGravatar GitHub <[email protected]>2023-03-09 09:13:44 +0000
commitc66edf9efe1127fd31944dba475a0d6df8a3e2da (patch)
tree91e58e4c1d531bf31bb5d37e414ac9da0933b2f8
parentMerge pull request #2453 from shtlrs/update-char-rules-threshhold (diff)
Make tag slash command guild only (#2452)
Co-authored-by: ChrisJL <[email protected]>
-rw-r--r--bot/exts/info/tags.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/info/tags.py b/bot/exts/info/tags.py
index 309f22cad..27dfa1913 100644
--- a/bot/exts/info/tags.py
+++ b/bot/exts/info/tags.py
@@ -317,6 +317,7 @@ class Tags(Cog):
return True
@app_commands.command(name="tag")
+ @app_commands.guild_only()
async def get_command(self, interaction: Interaction, *, name: Optional[str]) -> bool:
"""
If a single argument matching a group name is given, list all accessible tags from that group