add modmail link

This commit is contained in:
Bhupesh-V 2024-01-05 23:56:30 +05:30
parent 97adb8a6e8
commit a606dec66a

View File

@ -61,7 +61,8 @@ def update_wiki(reddit, wikipage, posts):
wiki_header = """# A collection of must read discussions started by community members""" wiki_header = """# A collection of must read discussions started by community members"""
content = wiki_header + "\n\n" content = wiki_header + "\n\n"
content += f"A handpicked collection of **{total_posts}** interesting posts, discussions & high-quality threads gathered over {total_years} years.\n\n" content += f"A handpicked collection of **{total_posts}** interesting posts, discussions & high-quality threads gathered over **{total_years}** years & counting.\n\n"
content += "If you spot on post that could be in this list, send us a [modmail](https://reddit.com/message/compose?to=r/developersIndia&subject=Community%20Threads%20Collection%20Suggestion&message=Hey%20folks%2C%0A%0A%3Cpost%20link%3E)\n\n"
for year in sorted(posts_by_year.keys(), reverse=True): for year in sorted(posts_by_year.keys(), reverse=True):
content += f"## {year}\n\n" content += f"## {year}\n\n"