Hayasui is a discord bot to search and provide you anime/manga/character/people data with interactive response message.
Hayasui's name is taken from a japanese fleet oiler which support and resupply fuel, ammo, and food for other ships. Also, exists in Kantai Collection games and anime. To live up its name, this bot will 'supply' you with anime, manga, character, and people information.
- Search anime/manga/character/people.
- Get anime info.
- Get manga info.
- Get character info.
- Get people info.
- Interactive response message (pagination supported).
- Discord bot and its token
- Go
- Redis (optional)
- Docker + Docker compose (optional)
- Git clone this repo.
git clone github.com/rl404/hayasui
- Rename
sample.env
to.env
and modify according to your configuration.
Name | Default | Description |
---|---|---|
HYS_DISCORD_TOKEN * |
Discord bot token. | |
HYS_DISCORD_PREFIX |
> |
Discord bot prefix command. |
HYS_CACHE_DIALECT |
inmemory |
Cache type (redis ,inmemory ) |
HYS_CACHE_ADDRESS |
Cache address. | |
HYS_CACHE_PASSWORD |
Cache passowrd. | |
HYS_CACHE_TIME |
24h |
Cache duration. |
-
Run.
make bot # or using docker make docker # to stop docker make docker-stop
-
Invite the bot to your server.
-
Try
>help
. -
Have fun.
>search <anime|manga|character|people> <query> [query...]
# example
>search anime naruto
>search manga one piece
>search character ichigo
>search people kana
>anime <anime_id>
# example
>anime 1
>manga <manga_id>
# example
>manga 1
>character <character_id>
# example
>character 1
>people <people_id>
# example
>people 1
MIT License
Copyright (c) 2021 Axel