commit
cbd75bb3d8
|
@ -28,8 +28,12 @@ def wuvt(phenny, input):
|
||||||
dj = r_dj.search(djpage).group(1)
|
dj = r_dj.search(djpage).group(1)
|
||||||
|
|
||||||
if song and artist:
|
if song and artist:
|
||||||
phenny.reply('DJ {0} is currently playing: {1} by {2}'
|
if dj[0:3] == 'DJ ':
|
||||||
.format(dj.strip(), song.strip(), artist.strip()))
|
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:
|
else:
|
||||||
phenny.reply('Cannot connect to wuvt')
|
phenny.reply('Cannot connect to wuvt')
|
||||||
wuvt.commands = ['wuvt']
|
wuvt.commands = ['wuvt']
|
||||||
|
|
Loading…
Reference in New Issue