forked from cyberia/nekobot
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 months ago | |
---|---|---|
scripts | 5 months ago | |
.gitignore | 5 months ago | |
README.md | 5 months ago | |
go.mod | 5 months ago | |
go.sum | 5 months ago | |
main.go | 5 months ago |
README.md
🐱 nekobot
a humble kitty roboto
how to develop
# this starts nekobot in local dev mode
go run main.go
connect it to matrix
first, set up proper variables for nekobot:
# use whatever user you want! can even be from different homeserver
# token can be found in element at settings -> help -> advanced -> token
# room IDs can be found under settings -> advanced -> internal room id
export NEKO_MATRIX_URL="https://matrix.cyberia.club"
export NEKO_MATRIX_USER="@yourbot:cyberia.club"
export NEKO_MATRIX_TOKEN="yourbots-token"
export NEKO_MATRIX_ROOM="!WAoLCYOOyceAxMaFYU:cyberia.club"
then, start the bot:
go run main.go