mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-11 03:42:31 -05:00
[Core] Add a cli flag for setting a max size of message cache (#3474)
* Add an arg in cli to change message cache size
* Add an arg in cli to change message cache size
* Changelog
* Actually pass None in message_cache_size
* Update cli.py
* Add a cli arg to disable message cache.
* Add a cli arg to disable message cache.
* well go away you useless
* you actually are an int
* Check if message cache is higher than 0 when set it.
* Use sys.maxsize as max cache size.
* Update cli.py
* Add bot.max_messages property.
* typos
* 🤦
* style
This commit is contained in:
1
changelog.d/3474.feature.rst
Normal file
1
changelog.d/3474.feature.rst
Normal file
@@ -0,0 +1 @@
|
||||
Add a cli flag for setting a max size of message cache
|
||||
Reference in New Issue
Block a user