From c7253488a3a938d9b99469a5286db1b5399cb4fe Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Tue, 28 Mar 2017 16:45:26 +0100 Subject: [PATCH] Wake before playing. --- plugin/play/play.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/play/play.py b/plugin/play/play.py index c74ee2e..741cccb 100644 --- a/plugin/play/play.py +++ b/plugin/play/play.py @@ -109,6 +109,7 @@ class Play(object): member = server.get_member(message.author.id) if member.top_role >= server.me.top_role: log.info('Sound {} requested by {} in {} on {}'.format(url, message.author, voice.name, server.name)) + await bot.wake_up() result = await bot.play_sound(voice, url) if not result: await cat.yelp(message.channel) -- 2.7.4