Statsy (shutting down soon)'s Avatar

Statsy (shutting down soon)

Stats for Games in a Discord Bot!

Tags


    Prefix: !Upvote Botdiscord.py0 upvotes this month

    <!-- Google Analytics -->

    <script> console.log(“GA Loaded”); (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,‘script’,‘https://www.google-analytics.com/analytics.js’,'ga’); ga(‘create’, ‘UA-61821570-2’, ‘auto’); ga(‘send’, ‘pageview’); !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=‘2.0’; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,‘script’, ‘https://connect.facebook.net/en_US/fbevents.js’); fbq(‘init’, ‘320184805116299’); fbq(‘track’, ‘PageView’);</script> <script> /** * Function that tracks a click on an outbound link in Analytics. * This function takes a valid URL string as an argument, and uses that URL string * as the event label. Setting the transport method to ‘beacon’ lets the hit be sent * using ‘navigator.sendBeacon’ in browser that support it. */ var trackOutboundLink = function(url) { ga(‘send’, ‘event’, ‘outbound’, ‘click’, url, { ‘transport’: ‘beacon’, ‘hitCallback’: function(){document.location = url;} }); }; var trackCampaignImpression = function(name, location) { ga(‘send’, { hitType: ‘event’, eventCategory: “campaign-”+name, eventAction: ‘impression’, eventLabel: (window.location.href === undefined? “unknown” : window.location.href) }); }; var trackCampaignBotPageImpression = function(name) { ga(‘send’, { hitType: ‘event’, eventCategory: “campaign-”+name, eventAction: ‘botPageImpression’, eventLabel: (window.location.href === undefined? “unknown” : window.location.href) }); }; var trackCampaignServerJoin = function(name) { ga(‘send’, { hitType: ‘event’, eventCategory: “campaign-”+name, eventAction: ‘serverJoin’, eventLabel: (window.location.href === undefined? “unknown” : window.location.href) }); }; var trackCampaignWebClick = function(name, label) { if(label === undefined) { label = (window.location.href === undefined? “unknown” : window.location.href); } ga(‘send’, { hitType: ‘event’, eventCategory: “campaign-”+name, eventAction: ‘webClick’, eventLabel: (window.location.href === undefined? “unknown” : window.location.href) }); }; var trackRegularServerJoin = function(name) { ga(‘send’, { hitType: ‘event’, eventCategory: “organic-”+name, eventAction: ‘serverJoin’, eventLabel: (window.location.href === undefined? “unknown” : window.location.href) }); }; var trackRegularWebClick = function(name, label) { if(label === undefined) { label = (window.location.href === undefined? “unknown” : window.location.href); }

    ga(‘send’, { hitType: ‘event’, eventCategory: “organic-”+name, eventAction: ‘webClick’, eventLabel: label }); } let trackRegularBotPageImpression = function(name) { ga(‘send’, { hitType: ‘event’, eventCategory: “organic-”+name, eventAction: ‘botPageImpression’, eventLabel: (window.location.href === undefined? “unknown” : window.location.href) }); }; var trackUpvote = function(id, label) { if(label === undefined) { label = (window.location.href === undefined? “unknown” : window.location.href); } ga(‘send’, { hitType: ‘event’, eventCategory: “upvote”, eventAction: id, eventLabel: label }); } let myConfObj = { iframeMouseOver : false } window.addEventListener(‘blur’,function(){ if(myConfObj.iframeMouseOver){ if(window.campaign === undefined) { trackRegularWebClick(window.botName, ‘iframe’); } else { trackCampaignWebClick(window.campaign, ‘iframe’); } } }); if( document.getElementById(‘botiframe’)) { document.getElementById(‘botiframe’).addEventListener(‘mouseover’, function () { myConfObj.iframeMouseOver = true; }); document.getElementById(‘botiframe’).addEventListener(‘mouseout’, function () { myConfObj.iframeMouseOver = false; }); } let setCampaignIframe = function(campaign) { window.campaign = campaign; } let setRegularIframe = function(botName) { window.botName = botName; }</script> <!-- End Google Analytics -->

    This is a stats bot which displays all your player profile’s info from different games! <br> This bot grabs data from the game servers to bring you the most accurate statistics in a visually pleasing way! <br>

    <br><br> <strong>Currently Supports </strong><br> Clash Royale stats<br> Clash of Clans stats<br> Overwatch stats<br> Fortnite stats

    <br><br>

    <br><br> To get started, do <code>!help</code> to view a full list of commands!<br> Follow us at <a href=https://www.twitter.com/StatsyBot>@StatsyBot</a> if you have some time to spare.