Skip to content

Commit

Permalink
Merge pull request #95 from LewisProjects/development
Browse files Browse the repository at this point in the history
another PR for invite blocking
  • Loading branch information
LevaniVashadze authored Dec 5, 2023
2 parents fbdf823 + bbc5770 commit 368351c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/Tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async def create(
elif re.match(
"(https|http)://(dsc\.gg|discord\.gg|discord\.io|dsc\.lol)/?[\S]+/?",
content,
):
) or re.match("(dsc\.gg|discord\.gg|discord\.io|dsc\.lol)/?[\S]+/?", content):
return await errorEmb(inter, "You can't make a tag with an invite")
# if content contains slurs or severe profanity
elif profanity.contains_profanity(content):
Expand Down

0 comments on commit 368351c

Please sign in to comment.