mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-12-17 19:02:22 -05:00
12 lines
496 B
JavaScript
12 lines
496 B
JavaScript
/* eslint-disable max-len */
|
|
const crypto = require('crypto');
|
|
module.exports = {
|
|
inject: function(bot) {
|
|
setInterval(() => {
|
|
bot.hash = crypto.createHash('md5').update(Math.floor(Date.now() / 1000).toString() + 'chomens1!1!').digest('hex').toString().substring(0, 16);
|
|
}, 1000);
|
|
setInterval(() => {
|
|
bot.ownerHash = crypto.createHash('md5').update(Math.floor(Date.now() / 1000).toString() + 'ownermogus').digest('hex').toString().substring(0, 16);
|
|
}, 1000);
|
|
},
|
|
};
|