From: CMDR furrycat Date: Wed, 29 Mar 2017 09:17:24 +0000 (+0100) Subject: Log parsed user for playing. X-Git-Url: http://git.furryclan.net/?a=commitdiff_plain;h=bade366977cab5b8de66550be919cf2b6538455b;p=furrycat%2Fcatbot.git Log parsed user for playing. --- diff --git a/plugin/play/play.py b/plugin/play/play.py index 0fedf78..4fe1102 100644 --- a/plugin/play/play.py +++ b/plugin/play/play.py @@ -81,6 +81,10 @@ class Play(object): user = await bot.parse_user(param, author = message.author) if user is not None: voice = bot.voice_channel_for_user(user) + if voice is not None: + log.info('Parsed user {} is in voice channel {}'.format(user, voice)) + else: + log.info('Parsed user {} is not in any shared voice channel'.format(user)) if voice is not None: ok = True else: