Skip to content

A bot to broadcast announcements on active referenda for Fellowship members

License

Notifications You must be signed in to change notification settings

pandres95/fellowship-referenda-bot

Repository files navigation

Fellowship Referenda Bot

Send digest (test) Deployment Digest Weekly Digest

Element

This bot aims to publish a digest of the active referenda in the announcements channel of Polkadot Fellowswhip (and works with similar referenda-like systems).

Notifications Channel - Join Here

Usage

  1. Setup the environment
MATRIX_HOMESERVER_URL=https://matrix.org

# to login use
MATRIX_USERNAME="the_bot_username"
MATRIX_PASSWORD="the_bot_password"
# or
MATRIX_AUTHTTOKEN="a_session_authttoken"

MATRIX_ROOMID="#roomId:matrix.org"

SUBSTRATE_ENDPOINT_URL=wss://polkadot-collectives-rpc.polkadot.io/
SUBSTRATE_REFERENDA_PALLET=referenda

SUBSQUARE_HOST=subsquare.io
SUBSQUARE_CHAIN=collectives
  1. Run npm start

Development

  1. Follow the instructions stated above, then run npm run dev. The difference is that bot message will be outputted to console instead of sent via Matrix.

About

A bot to broadcast announcements on active referenda for Fellowship members

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published