Skip to content
/ hayasui Public

Discord bot to get anime/manga/character/people data with interactive response message.

License

Notifications You must be signed in to change notification settings

rl404/hayasui

Repository files navigation

Hayasui

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.

Features

  • Search anime/manga/character/people.
  • Get anime info.
  • Get manga info.
  • Get character info.
  • Get people info.
  • Interactive response message (pagination supported).

Sample results

Requirement

Steps

  1. Git clone this repo.
    git clone github.com/rl404/hayasui
  2. 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.
  1. Run.

    make bot
    
    # or using docker
    make docker
    # to stop docker
    make docker-stop
  2. Invite the bot to your server.

  3. Try >help.

  4. Have fun.

Bot Commands

Search

>search <anime|manga|character|people> <query> [query...]

# example
>search anime naruto
>search manga one piece
>search character ichigo
>search people kana

Get Anime

>anime <anime_id>

# example
>anime 1

Get Manga

>manga <manga_id>

# example
>manga 1

Get Character

>character <character_id>

# example
>character 1

Get People

>people <people_id>

# example
>people 1

License

MIT License

Copyright (c) 2021 Axel