ParetoNetwork / ParetoNetworkServer

The primary application to power a Pareto Network node. Contains the frontend (Vue.js) and backend (Node.js) for Pareto Network.
https://www.pareto.network
1 stars 5 forks source link

Implement Telegram bot v1 #65

Closed 1blockologist closed 6 years ago

1blockologist commented 6 years ago

Telegram bot spec:

This is a conversational bot that maintains its own private message instance with each user. The @CindicatorBot is the clearest example

User initiates a conversation with the bot with the /start command

img_4870

the bot should inform them that they need to own PARETO and ask them for the Ethereum address they own PARETO in. The user needs to prove their address by signing the address manually or transferring a small amount from their address to a given address. On the website perhaps an authorized user can get a code sent to them that they can put in the telegram bot to associate it with their already signed address.

the user can paste in an address and the system will check its score. If it has a score greater than zero then they are in (but there will be thresholds for access). if their score is = 0 then they don't own any PARETO and the bot should walk them through how to get some, or just give them a link.

after a user is authorized they are privy to get new content when it is created.

I envision two types of content related messages the bot will send: the latest as it is put in the system, and batched or summarized posts in the system.

The main trick to this implementation is that most bots broadcast data to all of its users. This bot needs to push messages when that user is privy to get information.

HansOspina commented 6 years ago

This issue has been moved to the ParetoBot Project.