Merge branch 'develop' of https://github.com/Twentysix26/Red-DiscordBot into develop

This commit is contained in:
Emil Hammarstrom
2016-02-08 09:46:56 +01:00
4 changed files with 6 additions and 17 deletions

View File

@@ -248,7 +248,7 @@ class Audio:
if await self.check_voice(ctx.message.author, ctx.message):
if not self.playlist:
self.queue.append(link)
await self.bot.say(self.queue)
await self.bot.say("Link added to queue.")
else:
await self.bot.say("I'm already playing a playlist.")

View File

@@ -83,7 +83,7 @@ class TriviaSession():
if self.questionList: await self.newQuestion()
else:
if os.path.isfile("data/trivia/" + qlist + ".txt"):
self.questionList = self.loadList("trivia/" + qlist + ".txt")
self.questionList = self.loadList("data/trivia/" + qlist + ".txt")
self.status = "new question"
self.timeout = time.perf_counter()
if self.questionList: await self.newQuestion()