A simple LINE bot server application.
Official Account ID : @450ykrnr
This command makes the bot reply with 'Pong' everytime you type 'Ping'(case-insensitive).
@GaBot add-configuration
{
"configName":"ping-pong",
"regex":"/^Ping$/i",
"reply":"Pong"
}
This command makes the bot send 'Beep' every minute.
@GaBot add-configuration
{
"configName":"beep-config",
"cronExpression":"* * * * *",
"reply":"beep"
}
This command is also used to update a configuration. Simply use the same configName.
Gets the list of configurations.
@GaBot list-configurations
Removes a configuration.
@GaBot remove-configuration my_configuration_name
Creates a new counter.
@GaBot initialize-counter my_label
OR
@GaBot ic my_label
Increments the given counter's value by a certain amount.
@GaBot add-counter my_label 42
OR
@GaBot ac my_label 42
Resets the given counter's value back to 0.
@GaBot reset-counter my_label
OR
@GaBot rc my_label
Displays the given counter's current value.
@GaBot view-counter my_label
OR
@GaBot vc my_label
Displays the given counter's change history.
@GaBot history-counter my_label
OR
@GaBot hc my_label