1
0
Go to file
2024-02-09 14:12:00 +09:00
icon v0.1 2024-02-08 19:07:23 +09:00
scpt v0.1 2024-02-08 19:07:23 +09:00
src add bot 2024-02-09 14:12:00 +09:00
.gitignore v0.1 2024-02-08 19:07:23 +09:00
ai.zsh v0.1 2024-02-08 19:07:23 +09:00
Cargo.toml v0.1 2024-02-08 19:07:23 +09:00
README.md add bot 2024-02-09 14:12:00 +09:00

ai bot

$ ai
$ cargo build
$ ./target/debug/ai ai -t

login

# ai token $handle -p $password
$ ai t yui.syui.ai -p password

$ cat ~/.config/ai/token.toml
# ai token $handle -p $password -s $server
$ ai t ai.syu.is -p password -s syu.is

refresh

$ ai r
# server: syu.is
$ ai r -s syu.is

notify

$ ai n
$ ai n | jq .

bot

$ ai bot
command type body
@yui.syui.ai did mention, reply plc.directory/$did/log