소스 검색

FIXES BUG WITH QUEUEING. SONGS NOW QUEUE CORRECTLY ALL THE TIME, 100% OF THE TIME. https://www.youtube.com/watch?v=S02BHmWPZNs

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

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

@@ -228,8 +228,8 @@ class Voice:
voice = guild_settings.get(ctx.guild).voice
guild = ctx.guild

# Checks if invoker is in voice with the bot. Skips admins and mods and owner.
if not roxbot.checks._is_admin_or_mod(ctx) or from_queue:
# Checks if invoker is in voice with the bot. Skips admins and mods and owner and if the song was queued previously.
if not (roxbot.checks._is_admin_or_mod(ctx) or from_queue):
if not ctx.author.voice:
raise commands.CommandError("You're not in the same voice channel as Roxbot.")
if ctx.author.voice.channel != ctx.voice_client.channel:

Loading…
취소
저장