Whenever the color addition, editing, or delete command is triggered, empty the cache.
Cache only be built when the /warnet-color list command is triggered. If the cache still exists, use the cache instead of generating a new image. For now, save the cache in memory.
On connect -> trigger the list command -> generate new image -> Cache the image -> trigger the list command again -> Use cache
On connect -> trigger the list command -> generate new image -> Cache the image -> trigger add/edit/delete command -> Remove cache -> trigger the list command -> Cache the image (since the cache was empty)
Whenever the color addition, editing, or delete command is triggered, empty the cache. Cache only be built when the
/warnet-color list
command is triggered. If the cache still exists, use the cache instead of generating a new image. For now, save the cache in memory.