From 89f5f6aac9090d601f1dd0420d538d6b3e205b70 Mon Sep 17 00:00:00 2001 From: ChrisJL Date: Fri, 20 Sep 2024 11:01:52 +0100 Subject: [PATCH] Limit message cache to 100 messages (#279) --- arthur/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/arthur/__main__.py b/arthur/__main__.py index 6416e09..8f70f2b 100644 --- a/arthur/__main__.py +++ b/arthur/__main__.py @@ -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())