ajout subreddit
This commit is contained in:
parent
5d9be53290
commit
a71cc40ac1
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Internet(commands.Cog):
|
||||||
subredditchoix = choice(['memes', 'goodanimemes', 'dankmemes', 'DeepFried',
|
subredditchoix = choice(['memes', 'goodanimemes', 'dankmemes', 'DeepFried',
|
||||||
'educationalmemes', 'funny', 'marvelmemes', 'me_irl', 'meme', 'MemeEconomy', 'Memes_Of_The_Dank', 'MinecraftMemes',
|
'educationalmemes', 'funny', 'marvelmemes', 'me_irl', 'meme', 'MemeEconomy', 'Memes_Of_The_Dank', 'MinecraftMemes',
|
||||||
'physicsmemes', 'blackpeopletwitter', 'metal_me_irl', '195', 'shittyadviceanimals', 'meirl',
|
'physicsmemes', 'blackpeopletwitter', 'metal_me_irl', '195', 'shittyadviceanimals', 'meirl',
|
||||||
'2meirl4meirl', 'AdviceAnimals', 'weirdmemes'])
|
'2meirl4meirl', 'AdviceAnimals', 'weirdmemes', 'LeagueOfMemes'])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
async with Reddit(client_id = environ['TOKEN_REDDIT_CLIENT_ID'], client_secret = environ['TOKEN_REDDIT_CLIENT_SECRET'], user_agent = f"disreddit /u/{environ['TOKEN_REDDIT_USER_AGENT']}, http://localhost:8080") as reddit:
|
async with Reddit(client_id = environ['TOKEN_REDDIT_CLIENT_ID'], client_secret = environ['TOKEN_REDDIT_CLIENT_SECRET'], user_agent = f"disreddit /u/{environ['TOKEN_REDDIT_USER_AGENT']}, http://localhost:8080") as reddit:
|
||||||
|
|
Reference in a new issue