geen duration check meer

yolo
This commit is contained in:
Mark Hoekveen
2019-04-24 15:54:50 +02:00
parent b5f5aebe9c
commit 22df5adc75
+1 -3
View File
@@ -79,13 +79,11 @@ class General(object):
@commands.command(pass_context=True)
@asyncio.coroutine
def gif(self, ctx, yt: str, start: str, duration: int, res: str, fps: int):
def gif(self, ctx, yt: str, start: str, duration: str, res: str, fps: int):
""" Giffify.
Syntax: !gif [YT] [START] [DUUR] [RESOLUTIE] [FPS]
Bv: !gif RPxvTd_jCPQ 00:02:39 13 320 10
"""
if (duration > 20):
yield from ctx.channel.send(ctx.author.mention + ' Au, stop. Dat is te lang.')
try:
yield from ctx.message.delete()
except: