This bot allows you to track and update your immersion progress on Anilist straight from your own discord server. Just click on a reaction under the message!
-
Pycord (maintained fork of discord.py)
-
- create an API client on this page, set redirect url to
https://anilist.co/api/v2/oauth/pin - run and follow instructions from
api_setup.pyto get your api access token, note that it will write to a file different from bot's own config
- create an API client on this page, set redirect url to
- Download and unpack this repository
- Create a
config.jsonfile and paste the following inside
{
"discord_token": "your discord bot token here",
"access_token": "your anilist access token here",
"refresh_token": "your anilist refresh token here",
"username": "your anilist username here",
"channel_id": "your discord channel id here",
"youtube_playlists": {}
}- Put in your discord bot token, Anilist's access and refresh tokens and Anilist username
- Run the bot, type
!channel_idin the channel where you want your tracking information to be - Put that id in your config, restart the bot
!r- resyncs with Anilist!channel_id- prints out current channel id- to add a youtube playlist to track - just paste the url to a playlist (or to a video in a playlist) in the tracking channel (for now you'll have to
!rfor it to appear)
