dependabot[bot] 906025694d Bump follow-redirects from 1.14.7 to 1.14.8 in /scripts/wg-bot | 2 роки тому | |
---|---|---|
.. | ||
src | 2 роки тому | |
.gitignore | 2 роки тому | |
README.md | 2 роки тому | |
package.json | 2 роки тому | |
tsconfig.json | 2 роки тому | |
yarn.lock | 2 роки тому |
Discord Bot which informs Joystream DAO about the important events related to working groups: new openings, review periods, hires, fires, applications etc. Built in Node.js.
Supports new Working Groups introduced in Giza network.
How would this product evolve depends chiefly on the demand from the DAO. However, it seems reasonable to add the following features:
/salary
to see my salary, /earnings
to get earnings for last X days, etc.) ONLY YOUR IMAGINATION IS THE LIMIT HERE :)The main configuration file is src/config.ts
. Here, the mapping between the Working Groups and Discord channels is kept. You may map several Working Groups to a single channnel, or have each Working Group notifications sent to a dedicated channel, depending on your needs. Make sure your bot has appropriate permissions to channels you configured in src/config.ts
.
Build with yarn
Run using TOKEN=<BOT TOKEN> RPC_ENDPOINT=wss://rome-rpc-endpoint.joystream.org:9944 ts-node src/index.ts