Skip to content

Commit

Permalink
nit: be more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed Dec 26, 2021
1 parent b18e058 commit 13db234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self) -> None:

self.http_session = ClientSession()
self.db_pool: asyncpg.Pool = asyncpg.create_pool(constants.DATABASE_URL)
roles = [
allowed_mention_roles = [
Object(r)
for r in [
constants.Roles.steering_council,
Expand All @@ -37,7 +37,7 @@ def __init__(self) -> None:
allowed_mentions=AllowedMentions(
everyone=None,
users=True,
roles=roles,
roles=allowed_mention_roles,
replied_user=True,
),
)
Expand Down

0 comments on commit 13db234

Please sign in to comment.