From 3877ac736c7306064115b0c261e44e8787020d53 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 4 Dec 2020 09:59:28 +0100 Subject: [PATCH] correction --- cogs/internet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/internet.py b/cogs/internet.py index 511a3f6..7255c3c 100644 --- a/cogs/internet.py +++ b/cogs/internet.py @@ -17,7 +17,7 @@ class Internet(commands.Cog): async def _memes(self, ctx, *, args = ""): """Envois un meme de reddit.\n ➡ Syntaxe: .memes/meme [subreddit]⁢⁢⁢⁢⁢⁢⁢⁢⁢⁢""" try: - reddit = praw.Reddit(client_id = token['client_id'], client_secret = token['client_secret'], user_agent = f"{token['user_agent']}, http://localhost:8080") + reddit = praw.Reddit(client_id = token['client_id'], client_secret = token['client_secret'], user_agent = f"disreddit /{token['user_agent']}, http://localhost:8080") if args != "": # si il y a un arg différent d'un meme subredditchoix = args