1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Stopped searching for the one indexed list on get

This commit is contained in:
phxntxm 2017-03-08 15:04:10 -06:00
parent fd5d3f1538
commit 9e057dbc07

View file

@ -117,7 +117,6 @@ class Twitch:
await ctx.send("{} has not saved their twitch URL yet!".format(member.name))
return
result = result[0]
url = result['twitch_url']
user = re.search("(?<=twitch.tv/)(.*)", url).group(1)
twitch_url = "https://api.twitch.tv/kraken/channels/{}".format(user)