소스 검색

fixing error with max length editing the wrong setting.

tags/v2.1.0
Roxie Gibson 5 년 전
부모
커밋
e63a08593f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      roxbot/cogs/voice.py

+ 1
- 1
roxbot/cogs/voice.py 파일 보기

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

Loading…
취소
저장