stoat.ext.chunking – An extension for member chunking¶
While stoat.py offers a lower level aspect on interacting with Stoat, it does not provide automated member chunking.
Generally it’s unnecessary boilerplate since it’s a simple aspect, but hard to get correctly while being flexible.
For this reason, stoat.py comes with it’s own extension to handle this.
Example¶
from stoat.ext.chunking import MemberChunker
MemberChunker(bot)
That’s it. Now the cache will be always populated.
Note
If passing flags parameter to constructor, make sure you have subscribe_to_events flag.