Author Topic: Track total donated bits (like donations)  (Read 4104 times)

0 Members and 1 Guest are viewing this topic.

Godzinhu

  • Youngling
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Godzinhu
Track total donated bits (like donations)
« on: May 31, 2017, 10:37:48 AM »
Is there a way to detect the total bits that a user has donated to a channel like a donated note on the user database ?

Godzinhu

  • Youngling
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Godzinhu
Re: Track total donated bits (like donations)
« Reply #1 on: May 31, 2017, 01:11:54 PM »
I dont know how to edit the post so sorry about the spamm but i would like to add 2 separated commands

one like when a user say !support

then the user recives a whisper message like "You have suported this steam with X$ since @joindate@. Tank you for the support!"

also another for bits like !supportbits

Then same thing happen but with the bits information, like "You have suported this steam with X Bits since @joindate@. Tank you for the support!"

Thx for the help

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Track total donated bits (like donations)
« Reply #2 on: May 31, 2017, 09:21:42 PM »
Would have to make a system to do so. Would probably make a folder in your custom logs folder and setup commands when bits are donated to record the amount and add it to the user's text file. So in all, you would use @readfile@ (for !support), @savefile@ (for when they donate bits), and @calc@ (to add any new donations of bits to their total in the .txt file).

I may look into working on a system this coming weekend. But a good user to ask would be TheRealAlixe on our discord if you want something right away.
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

TheRealAlixe

  • Knight
  • ***
  • Posts: 106
  • Karma: +5/-2
    • View Profile
    • Ninetales.us
  • Twitch Name: TheRealAlixe
Re: Track total donated bits (like donations)
« Reply #3 on: June 01, 2017, 01:23:21 AM »
Twitter: @TheRealAlixe | Web: Ninetales.us | Twitch: @TheRealAlixe | Discord: join