Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record bot activity #29

Open
lenara opened this issue Apr 16, 2017 · 6 comments
Open

Record bot activity #29

lenara opened this issue Apr 16, 2017 · 6 comments
Assignees
Milestone

Comments

@lenara
Copy link
Collaborator

lenara commented Apr 16, 2017

find a way to record events & user interactions.
also - save console log to a file for later (re)viewing?

@lenara lenara added this to the Text & code milestone Apr 16, 2017
@silantnode
Copy link
Owner

http://telegramgeeks.com/2015/12/botan-io-analytics-for-telegram-bot/

@silantnode
Copy link
Owner

The botan bot is down pretty much all the time so it is not a useful solution.

@silantnode
Copy link
Owner

Need to know spec of what needs to be recorded and charted.

@lenara
Copy link
Collaborator Author

lenara commented Apr 17, 2017

activity to be recorded:

  • content published (already being recorded on database)
    -- content chosen for viewing (add a hit counter to db when people choose item?)
    -- kindness gifts chosen for earning warhols (can also use hit counter)
  • market bets (are already well recorded on db)
  • each user’s balance fluctuation over time (this can become a nice graph actually :)
  • all warhols earned over time (also can become a graph)
  • all warhols spent over time (ditto)
  • break down those earned/spent warhols by economy
  • (optional) break down also each user’s balance by economy

Idea: incorporate into both the add and subtract warhols function a query update to a new “transactions log” table, which will include: timestamp, user id, economy, amount of new warhols (positive or negative for either earned or spent)

obs: besides the creative, gift and speculation, there is also the coupon way of earning warhols. Maybe assign this to a fourth economy code

@silantnode
Copy link
Owner

Added content views to creative table along with functionality to count the views.

@silantnode
Copy link
Owner

silantnode commented Apr 18, 2017

Added '--' signs on the list above so we know what is already implemented.

What has been implemented is currently in the records-tracking branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants