Merge pull request #54 from matthazinski/patch-1

Update wuvt.py
master
mutantmonkey 2014-11-08 03:30:46 +00:00
commit cbd75bb3d8
1 changed files with 6 additions and 2 deletions

View File

@ -28,6 +28,10 @@ def wuvt(phenny, input):
dj = r_dj.search(djpage).group(1)
if song and artist:
if dj[0:3] == 'DJ ':
phenny.reply('{0} is currently playing: {1} by {2}'
.format(dj.strip(), song.strip(), artist.strip()))
else:
phenny.reply('DJ {0} is currently playing: {1} by {2}'
.format(dj.strip(), song.strip(), artist.strip()))
else: