Decrease the max messages in the message cache
@@ -23,7 +23,7 @@ async def get_prefix(bot, ctx):
return prefix[0]
-bot = commands.AutoShardedBot(command_prefix=get_prefix, help_command=None, case_insensitive=True, max_messages=9999)
+bot = commands.AutoShardedBot(command_prefix=get_prefix, help_command=None, case_insensitive=True, max_messages=4096)
async def setup_db():
bot.db = await asyncpg.create_pool(host="localhost", database="villagerbot", user="pi", password=keys["postgres"], command_timeout=5)
