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:
4f5ea60
)
Fixed parsing when only a sound is specified.
author
CMDR furrycat
<elite@furrycat.net>
Tue, 28 Mar 2017 10:14:05 +0000
(11:14 +0100)
committer
CMDR furrycat
<elite@furrycat.net>
Tue, 28 Mar 2017 10:14:05 +0000
(11:14 +0100)
plugin/play/play.py
patch
|
blob
|
history
diff --git
a/plugin/play/play.py
b/plugin/play/play.py
index
182366c
..
fdaadc3
100644
(file)
--- a/
plugin/play/play.py
+++ b/
plugin/play/play.py
@@
-81,7
+81,7
@@
class Play(object):
else:
break
- if not ok:
+ if not ok
or not url or not voice
:
log.info('Failed to parse play command. Got url {} channel {}'.format(url, voice))
if not url:
await bot.say(message.channel, 'what?')