def clear_cache(self):
self.cache_data = {}
@tasks.loop(hours=1)
async def looped_clear_cache(self):
print('Cache Cleared')
self.clear_cache()
This is inside of a Cog, and it doesnt seem to work. Even after hours of running, Cache Cleared is never printed onto the console. No errors come up on console