1
0
Go to file
2024-02-09 13:59:17 +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 13:59:17 +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 13:59:17 +09:00

ai bot

  • name : ai bot
  • base : rust
$ 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

bot

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