Skip to content

This is a discord bot for managing your MyAnimeList and Anilist account simultaneously

License

Notifications You must be signed in to change notification settings

Rishi-Bidani/AniMalSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AniMalSync

This is a discord bot for updating and managing your Anilist and MyAnimeList account

Setup

For setting up the project you will need to create a .env file with the following information

# .env
DISCORD_TOKEN=discordTokenGoesHere
MAL_TOKEN=MALTokenGOesHere

# Anilist Credentials
ANILIST_ID=AnilistDeveloperAppID
ANILIST_SECRET=AnilistSecret

ANILIST_TOKEN=AnilistTokenHere

To get the MAL token

from malupdate import Anime, User
print(User.login("Username", "Password")) # This will return a token

To Get Anilist Token

Copy paste the following url in the browser
https://anilist.co/api/v2/oauth/authorize?client_id={clientID}&response_type=token
replacing the {clientID} with your ID, replace the {} as well

It will ask you to log in and then provide you with the token to use.
For me I copied the token from the url directly, it asked me to authorise the app and didn't reach anything else

Commands

$searchani name maxResult

# name = What you want to search AnimeName or MangaName

# maxResult = max number of items displayed
$updateani id status
# id = ID of the anime, you can find it by search the anime
# status = default is complete,
# Or use the following for status (choose one from the list)
# ________________________________________________________
# current = ["c", "curr", "current", "CURRENT"]
# planning = ["p", "plan", "planning", "PLANNING"]
# dropped = ["d", "drop", "DROPPED"]
$searchmal name
# name = what u want to search

About

This is a discord bot for managing your MyAnimeList and Anilist account simultaneously

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages