Skip to content

KAGA Discord Integration

waicool20 edited this page Mar 26, 2018 · 4 revisions

KAGA can be integrated with Discord via YuuBot. KAGA when integrated will report stats updates such as sorties ran, total expedition sent and return, and many more to YuuBot, any crashes that occur will also be notified to the user using private messages with the last few lines of the log to help give some basic idea why it occurred.

Status reports occur at the start of the script, end of the script and every time it finishes one cycle. Crashes are reported after the crash log has been saved.

Prerequisite

It is necessary to join the KCA-KAGA discord in order to use this feature. You can join here:

alt text

or click on the Report script status via Discord text under the Preferences tab in KAGA.

Commands

You can use commands to communicate with Yuubot. They are:

Commands Alias Function
!kaga -k --key Yuu tells you your secret key.
!kaga -s --status Yuu tells you the status of your script. Use only at #stat-spam

Instructions

  1. Join the discord.

  2. Enter !kaga -k or !kaga --key in the #stats-spam channel or you could message her directly the !kaga -k command. Yuu will PM you your API key.

    You will receive a reply from Yuu containing your API key.

    Yuu Get API KEY

  3. Under KAGA's preference tab, enter your API key. The validity of your key is determined by the border color of the box you entered the key in. Remember to save preferences after updating the API key.

    If your API-key is valid, the border of the box will turn green.

    Valid API KEY

    If not, it will remain red.

    Invalid API KEY

  4. On the #stat-spam channel, you can check your status via the !kaga -s or !kaga --status command. The border color indicates your script status.

    Green would mean the script is running.

    Script Online

    Red would mean that KAGA is offline and no script is running.

    Script Offline

Please do take into account the last updated time of the status report, if the message is Green but the last updated time was 20 mins ago, then maybe your script has gotten stuck somewhere in the game or your internet dropped and KAGA was unable to report its status to YuuBot.