Helper functions | |
mitsu |
meta information |
. | |
Commands | |
/activity <username> |
setup AniList feed in current channel (Manage Webhooks) |
/filter |
filter status types in current channel |
/edit |
edit active feeds in current channel (Manage Webhooks) |
/active [scope] |
get active feeds in the specified scope |
/profile <username> [send-message] |
get AniList profile of specified user |
/search <type (Anime, Manga)> <query> |
search anime or manga |
-
Install requirements.
pip install -r requirements.txt
-
Setup Token & Slash Command Test Guild
- Create and enter the directory
tmp
. - Create a text file and name it
token.txt
. - Paste your Discord bot token into the file.
For developers: Set
SLASH_TEST_GUILD
as your test server's if you're going to add or edit commands. Otherwise you'd need to wait at least a couple of hours for the commands to sync.For further configuration, check out
tmp/config.ini
- Create and enter the directory
-
Run the main script.
py main.py [--info|--debug]
Please read AniList's Rate Limiting Policy And configure your
INTERVAL
accordingly.
Oh and one more thing. Please update my fork of python-anilist before you run the bot. I tend to push a lot of updates :S