chore: don't name methods 'test'
This commit is contained in:
parent
a290944708
commit
a9318fe9b3
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue