Bot for notifications about new proposals in Cosmos
Telegram: https://t.me/ODINproposals
Discord: https://discord.gg/cUXKyRq
Kyve network testnet:
Telegram: https://t.me/KyveProposals
requirements:
node.js >=16.14.2
npm install
npm run setup
Before run, store a global.config.js
file in the project config folder. The config sample can be find in config folder global.config.sample.js
- SET
telegram
config. If you want to run message via telegram transport, createtelegram.config.js
inconfig/
folder. Sample istelegram.config.sample.js
- SET
discord
config. If you want to run message via discord transport, creatediscord.config.js
inconfig/
folder. Sample isdiscord.config.sample.js
- SET both config if you want to run
discord
andtelegram
example with 2 transports:
*/30 * * * * cd /user/Heimdallbot && npm start --silent -- --telegram --discord >> /user/heimdallbot.log 2>&1
example with 1 transports:
*/30 * * * * cd /user/Heimdallbot && npm start --silent -- --telegram >> /user/heimdallbot.log 2>&1
if use nvm
do alias
sudo ln -s "$(which node)" /usr/bin/node
sudo ln -s "$(which npm)" /usr/bin/npm
To contribute to this repository please follow these steps:
- Clone the repository
- Install dependencies
npm install
- Before committing make linter check:
npm run format:check & npm run lint:check