Optimized code

This commit is contained in:
Choco
2024-02-17 13:04:20 +08:00
parent 774edaefff
commit 464f9123e5
21 changed files with 177 additions and 156 deletions

View File

@@ -111,7 +111,7 @@ class Task(commands.Cog):
@tasks.loop(hours=12.0)
async def cache_cleaner(self):
func.SETTINGS_BUFFER.clear()
func.PLAYLISTS_BUFFER.clear()
func.USERS_BUFFER.clear()
errorFile = func.gen_report()
if errorFile: