Explorar el Código

fixing error with max length editing the wrong setting.

tags/v2.1.0
Roxie Gibson hace 5 años
padre
commit
e63a08593f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      roxbot/cogs/voice.py

+ 1
- 1
roxbot/cogs/voice.py Ver fichero

@@ -618,7 +618,7 @@ class Voice:
elif setting == "maxlength" or setting == "maxduration":
change = int(change)
if change >= 1:
voice["skip_ratio"] = change
voice["max_length"] = change
else:
return await ctx.send("Valid max duration not given.")
await ctx.send("Max Duration was set to {}".format(change))

Cargando…
Cancelar
Guardar