Updated code to work with the new OW API
This commit is contained in:
parent
2c0b82967a
commit
07e34ddee3
|
@ -125,7 +125,7 @@ class Overwatch:
|
|||
await self.bot.say("Looking up your profile information....")
|
||||
# All we're doing here is ensuring that the status is 200 when looking up someone's general information
|
||||
# If it's not, let them know exactly how to format their tag
|
||||
endpoint = "{}/stats/general".format(bt)
|
||||
endpoint = "{}/stats".format(bt)
|
||||
data = await self._request(None, endpoint)
|
||||
if data is None:
|
||||
await self.bot.say("Profile does not exist! Battletags are picky, "
|
||||
|
|
Loading…
Reference in a new issue