diff options
| author | 2020-07-17 21:33:14 +0200 | |
|---|---|---|
| committer | 2020-07-17 21:33:14 +0200 | |
| commit | 98c325f316038536270c87d0f767e2c18c215df7 (patch) | |
| tree | f83e79e323c5594d4568f8b1b469841a74ee4a5e /tests | |
| parent | Kaizen: Move OffTopicName to converters.py. (diff) | |
Cache AllowDenyList data at bot startup.
We shouldn't be making an API call for every single message posted, so
what we're gonna do is cache the data in the Bot, and then update the
cache whenever we make changes to it via our new AllowDenyList cog.
Since this cog will be the only way to make changes to this, this level
of lazy caching should be enough to always keep the cache up to date.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions