remove https from version url

This commit is contained in:
deflax 2022-03-28 11:12:55 -04:00
parent 5ab98b1b0c
commit 99adfa7384

View file

@ -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