git://git.furryclan.net
/
furrycat
/
catbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8ba46
)
Log parsed user for playing.
author
CMDR furrycat
<elite@furrycat.net>
Wed, 29 Mar 2017 09:17:24 +0000
(10:17 +0100)
committer
CMDR furrycat
<elite@furrycat.net>
Wed, 29 Mar 2017 09:17:24 +0000
(10:17 +0100)
plugin/play/play.py
patch
|
blob
|
history
diff --git
a/plugin/play/play.py
b/plugin/play/play.py
index
0fedf78
..
4fe1102
100644
(file)
--- 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: