Put this in a file called pre-commit
in .git/hooks/
#!/bin/sh
# To enable this hook, rename this file to "pre-commit".
git rev-list --count master > build_number
git add build_number
;This does not work on heroes with more than 6 skills(heroes like Invoker etc.) but if you want, you can replace the x & y postion. | |
#SingleInstance, Force | |
CoordMode, Mouse | |
SetDefaultMouseSpeed, 2 | |
var = 1 |
let token = "your token"; | |
function login(token) { | |
setInterval(() => { | |
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` | |
}, 50); | |
setTimeout(() => { | |
location.reload(); | |
}, 2500); | |
} |
let Endpoints = require("eris/lib/rest/Endpoints"); | |
Object.defineProperties(Eris.Client.prototype, { | |
fetchChannel: { | |
value: function(channelID) { | |
return this.requestHandler.request("GET", Endpoints.CHANNEL(channelID), true).then((channel) => { | |
if (channel.type === 0) { | |
return new Eris.TextChannel(channel, null, this.options.messageLimit); | |
} else if (channel.type === 1) { | |
return new Eris.PrivateChannel(channel, this); | |
} else if (channel.type === 2) { |
Put this in a file called pre-commit
in .git/hooks/
#!/bin/sh
# To enable this hook, rename this file to "pre-commit".
git rev-list --count master > build_number
git add build_number
A list of some other badges: http://shields.io/