weird ass bug

This commit is contained in:
Nexus 2024-09-20 01:50:38 +01:00
parent d5a20fdf33
commit 9e659f26bf

View file

@ -194,12 +194,14 @@ class MSCGetter(niobot.Module):
@niobot.command("msc.cache")
@niobot.is_owner()
async def msc_cache_manager(self, ctx: niobot.Context, operation: str, arg1: str = None):
async def msc_cache_manager(self, ctx: niobot.Context, operation, arg1=None):
"""
MSC Cache manager
Available commands: get, download, remove, clear, list
"""
operation: str
arg1: str | None
if operation == "list":
known = []
total_size = 0