Edited some files before work begins.

This commit is contained in:
2018-02-28 18:23:33 -05:00
parent cf412dc4bf
commit f14dc616af
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ async def mtg(name):
getCard = str(name)
await asyncio.sleep(0.05)
card = scrython.cards.Named(loop=bot.loop, fuzzy=getCard)
card = scrython.cards.Named(fuzzy=getCard)
if card.type_line() == 'Creature':
PT = "({}/{})".format(card.power(), card.toughness())

View File

@ -80,7 +80,7 @@ class CardsObject(object):
}
self.encodedParams = urllib.parse.urlencode(self.params)
self._url = 'https://api.scryfall.com/' + _url + "&" + self.encodedParams #Find a fix for this later
self._url = 'https://api.scryfall.com/' + _url + "&" + self.encodedParams
async def getRequest(client, url, **kwargs):
async with client.get(url, **kwargs) as response: