Go to file
jeantoulza f75b32acce Removed stupid return op 2018-07-12 18:01:13 +02:00
.gitignore Initial push 2018-04-12 03:13:12 +02:00
README.md Updated README 2018-04-12 17:24:01 +02:00
bot.py Removed stupid return op 2018-07-12 18:01:13 +02:00
config.ini.example Added comments and more options 2018-04-12 15:03:58 +02:00
requirements.txt Added requirements 2018-04-12 15:16:30 +02:00

README.md

SCPlanner Discord bot

SCPlanner Discord bot is a Discord bot designed to make reposts easier and faster by using Discord.

Commands

!repost <track-link> : autoschedule a track and replies with the calendar link.

Installation

  1. Clone this repo.
  2. Configure config.ini.example to your needs, then rename it to config.ini.
  3. Run pip install -r requirements.txt.
  4. Run python bot.py.

Configuration

  • cookie_name : This is the session cookie name. Do not change it to anything else than ci_session at the moment.
  • cookie_value : Your session cookie value. Log in on SCPlanner with your repost account and open up your browser developer view, then grab the ci_session cookie value.
  • bot_token : Get yours on Discord developers portal.
  • reposters_role : Only members of this role on your server will be able to use the !repost command.
  • use_all_accounts : If set to no (default), the bot will use account preferences to schedule your repost. If set to yes, the bot will use all subs to schedule the repost.

Invite on your server

  1. Go to your app details on Discord developers portal.
  2. Hit the Generate OAuth2 URL button. Generate OAuth2 URL
  3. Copy the link with the default settings. Copy
  4. Paste it in your browser, then proceed to add the bot on your server.

Screenshots

Success