Skip to content

Commit

Permalink
Update golden_boy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CharmingDays authored Apr 6, 2018
1 parent 386bcd0 commit fe4e1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golden_boy.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async def summoner(ctx):
"""GETS THE SUMMONER'S BASIC INFORMATION; NAME,LEVEL"""
link = rq.get("https://na1.api.riotgames.com/lol/summoner/v3/summoners/by-name/{}?api_key={}".format(name, api)).text
rq_json = json.loads(link)
await bot.say("{}is level: {}\n{}'s profile icon is: {}\n{}'s ID is :{}".format(rq_json['name'],rq_json['summonerLevel'],rq_json['name'],rq_json['profileIconId'],rq_json['name'],rq_json['id']))
await bot.say("{}is level: {}\n{}'s profile icon is: {}\n{}'s ID is : {}\n{}'s Account ID is: {}".format(rq_json['name'],rq_json['summonerLevel'],rq_json['name'],rq_json['profileIconId'],rq_json['name'],rq_json['id'],rq_json['name'],rq_json['accountId']))


@bot.command(pass_context=True)
Expand Down

0 comments on commit fe4e1c5

Please sign in to comment.