chore: don't name methods 'test'

This commit is contained in:
Matyáš Caras 2024-04-06 18:53:24 +02:00
parent a290944708
commit a9318fe9b3
Signed by untrusted user who does not match committer: hernik
GPG key ID: 2A3175F98820C5C6

View file

@ -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: