From a9318fe9b35ca55001ca50b7854f5cc9422b28d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Caras?= Date: Sat, 6 Apr 2024 18:53:24 +0200 Subject: [PATCH] chore: don't name methods 'test' --- commands/yuri.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/yuri.py b/commands/yuri.py index e1115e9..c708091 100644 --- a/commands/yuri.py +++ b/commands/yuri.py @@ -11,7 +11,7 @@ timeout = datetime.now() class YuriExtension(Extension): @slash_command(name="yuri", description="Pošle náhodný yuri obrázek z Gelbooru (NSFW pouze v NSFW kanálech)") - async def test(self, ctx: SlashContext): + async def yuri(self, ctx: SlashContext): global timeout await ctx.defer() if datetime.now() < timeout: