Skip to content

Commit

Permalink
Limit message cache to 100 messages (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering authored Sep 20, 2024
1 parent 989e73d commit 89f5f6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arthur/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ async def main() -> None:
allowed_roles=(CONFIG.devops_role,),
case_insensitive=True,
intents=intents,
max_messages=100,
)
async with arthur.instance as bot:
await bot.start(CONFIG.token.get_secret_value())
Expand Down

0 comments on commit 89f5f6a

Please sign in to comment.