tgoop.com/Advanced_Bot_Codings/361
Last Update:
♻️ Command = 📊 Statistics
🌐 BJS = var user = Libs.ResourcesLib.anotherChatRes("user", "global")
var payout = Libs.ResourcesLib.anotherChatRes("withdraw", "global")
var graphpic = "https://quickchart.io/chart?bkg=white&c={type:%27bar%27,data:{labels:[''],datasets:[{label:%27Total-Users%27,data:["+user.value()+"]},{label:%27Total-Payment%27,data:["+payout.value()+"]}]}}"
Api.sendPhoto({
photo: graphpic,
caption: "*📊 Bot Live Statistics\n\n👥 Users = "+user.value()+" Users\n\n📤 Withdraw = "+payout.value()+" Rs\n\n⚜ Share And Support Us ⚜*",
parse_mode: "markdown"
})
🚨 Note: Don't forget to add the bjs in /start and Auto command from previous statistics code otheriwse code will not work fine and will create problem.
🧑🏻💻 Coded By: @Shadab_Alam
💮 About Code: It is updates version of statistics code. It will send a pic of bar graph image with a caption in which bot users & payout details will be shown.
📍 Previous Statistics Code: https://www.tgoop.com/Advanced_Bot_Codings/61
BY Advanced Bot Codings™
Share with your friend now:
tgoop.com/Advanced_Bot_Codings/361