Complete rewriting for Elaina due to previous code base deemed not maintainable
Creating a self-host bot that can do some cool trick upon its sleeve (game integration, ultilities, etc.)
(no commands implementation yet, should be easy to add as all game integration wrapper is promise-based and should return json data on completion)
- osu!droid - use private droidBancho api (need api key - get user info, fetch score)
- osu! - use official osu api (need api key - get map info, download map as .osu file)
- Azur Lane - use azur lane's login api (check server status for en, jp and cn-android server)
- Malody - use web scrapper (get user info, get chart info)
- Arcaea - use estertion score prober (get user info)
As this thing is supposed to be for (sort of) public use, I should also list some requirement
- Node.js v12
- All dependencies listed in
package.json
(just hitnpm install
lol) - For api usage (osu!droid and osu!) you need their own api key store in
elainaRebuild-config/.env
asOSUDROID_API_KEY
andOSU_API_KEY
(and obviouslyDISCORD_TOKEN
if you want your bot to run in the first place) - The bot use emote to visualize some stuff (namely Malody mode), to get it to work correctly, add the correct icon as emote in the server your bot are in (any server will do, name them according to
elainaRebuild-config/config.json
)