Skip to content

raf555/ArknightsBotLine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 

Repository files navigation

Arknights Bot for LINE

(last update 20-10-2020)

Website

This is not the real repository for the bot, only for cosmetics for my github account. The real repository is set to private atm.

I. Short Introduction

This bot provides you a bunch of information from the game (gacha, recruitment, and operators stuff).

Bot only works on LINE Platform, both personal chat or group/room chat.

II. The Bot

To add the bot @563ycerl

You might notice some Flex Message designs are a bit off between LINE Desktop and Mobile, please refer to Mobile version for the 'real' designs

Bot Usage

Send the command (marked one) to the bot

1. Recruitment Calculator

Shows you the UI to select the combination.

recruitment

2. Gacha Simulator

Both event and standard banners follow the current banners in EN server.

2.1. To select banner:

Selected banner's button color is gray, unselected banner's button color is green

gacha select

2.2. To do the gacha (x = total pulls):

gacha x

this result was shown only for testing, doesn't represent neither the system nor my luck

2.3. To see gacha result statistic:

gacha stat

2.4. To reset the statistic:

gacha reset

3. Operators Information

Operators information follow the latest game update (CN server)

credit to Gamepress for this

x = Operator's name.

info x

3.1. Operators Material Information

x = Operator's name

The material background is kinda weird on LINE Desktop, please refer to Mobile version for the 'real' design

mats x

3.2. Operators Stats Information

x = Operator's name

stats x

4. Materials Craft Recipe

Can only be accessed from mats x command.

click the materials

The material background is kinda weird on LINE Desktop, please refer to Mobile version for the 'real' design

III. Error Reply

If something happen to the features, bot will send you message like this.

This is mostly caused by

  1. Bot process the command more than 30 seconds
  2. Outdated database
  3. Web Scraping error

What to do if that happens?

First Issue

For the first cause, it is mostly happened when bot is waking up, you may notice this by telling how long does the bot reply. LINE limits the reply time for less than 30 seconds, so this happens. For this issue, when you resend the message, it should be work just fine after that.

Second Issue

For the second cause, it is simply caused by outdated database (such as mats and stats features), it will give you the same message, but when you resend the message, it will give you the same message again, i anticipated this by adding report system, so when error happens for several times, you will see report button and the features will be disabled temporarily and the report will be sent to me.

Third Issue

Basically same with the second issue but this was caused by web scraping error.

IV. Features that are probably added in the future

  1. Group / Room support. added.
  2. Auto Update Event and Standard Banner. -WIP- -Probably won't be finished by anytime soon bcs it's kinda hard to implement with the current host-