Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Commit

Permalink
Removed everyone and roles from allowed mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirspam committed Jul 11, 2021
1 parent ea70f02 commit 23fc855
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@
DEFAULT_PREFIX = getenv("DEFAULT_PREFIX")


bot = commands.Bot(command_prefix=DEFAULT_PREFIX, intents=Intents.default(), case_insensitive=True, allowed_mentions=AllowedMentions(replied_user=False))

bot = commands.Bot(
command_prefix=DEFAULT_PREFIX,
intents=Intents.default(),
case_insensitive=True,
allowed_mentions=AllowedMentions(
everyone=False,
roles=False,
replied_user=False
)
)

initial_cogs = [
"jishaku",
Expand Down

0 comments on commit 23fc855

Please sign in to comment.