redditdota / sidebar-bot

Bot that edits the /r/dota2 subreddit every minute with sidebar updates and scheduled posts

Home Page:https://www.reddit.com/r/DotA2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/r/Dota2 Sidebar bot

Despite being called the sidebar bot, this repo actually does all of the following:

  • Update the sidebar with

    • Tournament and events from Google Calendar: events.py
    • Top twitch streams: twitch.py
    • Current played pro matches: gosu.py
    • Countdown until TI: countdown.py
    • Track TI prize pool: prize_pool.py
  • Post weekly scheduled posts:

    • Battle cup: battlecup.py
    • Stupid questions: stupidquestions.py
    • Hero discussion: hero_discussions.py
    • Item discussion: item_discussion.py
  • Ping discord when there is new modmail: modmail.py

The entry point is update_sidebar.py and redesign specific code is redesign.py.

Config.txt

The following fields in the config.txt file are required:

artifact_calendar_id = ?
artifact_email = ?
artifact_google_key = ?
bot_username = ?
client_id = ?
client_secret = ?
dota_calendar_id = ?
dota_email = ?
dota_google_key = ?
gosu_api_key = ?
stupid_questions_id = a number
artifact_stupid_questions_id = a number
twitch_client_id =
twitch_secret_id =
discord_token =

About

Bot that edits the /r/dota2 subreddit every minute with sidebar updates and scheduled posts

https://www.reddit.com/r/DotA2/


Languages

Language:Python 99.5%Language:Shell 0.4%Language:Procfile 0.1%