diff options
| -rw-r--r-- | bot/cogs/tags.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py index 5d6488712..ab46be009 100644 --- a/bot/cogs/tags.py +++ b/bot/cogs/tags.py @@ -204,6 +204,10 @@ class Tags: embed.title = "Please don't do that" embed.description = "Don't be ridiculous. Newlines are obviously not allowed in the tag name." + if not tag_name.isalpha(): + embed.title = "Please don't do that" + embed.description = "Only letters in the tag names, please." + else: if not (tag_name and tag_content): embed.title = "Missing parameters" |