remove https from version url
This commit is contained in:
parent
5ab98b1b0c
commit
99adfa7384
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -55,7 +55,7 @@ async def on_message(message):
|
||||||
await message.channel.send('] radiobot commands: help, version, song')
|
await message.channel.send('] radiobot commands: help, version, song')
|
||||||
|
|
||||||
if message.content == '!version':
|
if message.content == '!version':
|
||||||
await message.channel.send('] radiobot ' + bot_version + ' - python ' + os.environ['PYTHON_VERSION'] + ' - https://github.com/deflax/radiobot :purple_heart:')
|
await message.channel.send('] radiobot ' + bot_version + ' - python ' + os.environ['PYTHON_VERSION'] + ' - github.com/deflax/radiobot :purple_heart:')
|
||||||
|
|
||||||
if message.content == '!song':
|
if message.content == '!song':
|
||||||
request = urllib2.Request(source, headers={'Icy-MetaData': 1}) # request metadata
|
request = urllib2.Request(source, headers={'Icy-MetaData': 1}) # request metadata
|
||||||
|
|
Loading…
Reference in a new issue