Tedcrypto twitter bot is a simple bot that works by listening to new tweets and to a user mention (currently: @tedcryptoBot)
Current commands are as follow:
- ping: Bot replies with pong
- APR: Gets the APR for a given chain, e.g.:
@tedcryptoBot APR evmos
- price: Get the price from a given token, e.g.:
@tedcryptoBot price osmosis
- lotto: Get stats for TedLotto, e.g.:
@tedcryptoBot lotto evmos
- Create twitter bot
- Copy
.env.dist
to.env
and fill your environment variables - Install npm vendors
npm install
- Install globally ts-node
npm -g install ts-node
(this will allow you to run the script) - Run
ts-node src/main.ts
- Thanks to Tom (@eco_stake) for the Cosmos Directory