From d06345dbe2cfdb1de85312d4872e2a90c925c528 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Thu, 21 Jan 2016 15:25:38 +0100 Subject: [PATCH] fix !imdb --- red.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/red.py b/red.py index 1f5120d45..70c6dfc06 100644 --- a/red.py +++ b/red.py @@ -984,7 +984,7 @@ async def imdb(message): # Method added by BananaWaffles. try: msg.remove(msg[0]) msg = "+".join(msg) - search = "http://api.myapifilms.com/imdb/title?format=json&title=" + msg + "&token=" + "yourtokenhere" + search = "http://api.myapifilms.com/imdb/title?format=json&title=" + msg + "&token=" + apis["MYAPIFILMS_TOKEN"] async with aiohttp.get(search) as r: result = await r.json() title = result['data']['movies'][0]['title']