From 9e659f26bf8219a02e9fe79dc698deba853c5cd8 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Fri, 20 Sep 2024 01:50:38 +0100 Subject: [PATCH] weird ass bug --- app/modules/msc_getter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/modules/msc_getter.py b/app/modules/msc_getter.py index 81bd537..a20b95d 100644 --- a/app/modules/msc_getter.py +++ b/app/modules/msc_getter.py @@ -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