mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
include meme flair when posting to reddit
This commit is contained in:
parent
c46a817eed
commit
00a97eb686
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ class Reddit(object):
|
||||||
password=config.PRAW_PASSWORD
|
password=config.PRAW_PASSWORD
|
||||||
)
|
)
|
||||||
self.subreddit = "wownero"
|
self.subreddit = "wownero"
|
||||||
|
self.meme_flair_id = "2527d518-a96c-11ea-ba87-0e32c68cff8f"
|
||||||
|
|
||||||
def post(self, title, url):
|
def post(self, title, url):
|
||||||
try:
|
try:
|
||||||
|
@ -20,6 +21,7 @@ class Reddit(object):
|
||||||
title=title,
|
title=title,
|
||||||
url=url,
|
url=url,
|
||||||
resubmit=False,
|
resubmit=False,
|
||||||
|
flair_id=self.meme_flair_id
|
||||||
)
|
)
|
||||||
return submission
|
return submission
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue