Debug logs
This commit is contained in:
parent
9286fe6590
commit
254f00eff9
|
@ -188,10 +188,13 @@ EmoteModule.prototype.init = function() {
|
||||||
|
|
||||||
EmoteModule.prototype.getBlacklist = function() {
|
EmoteModule.prototype.getBlacklist = function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
console.log("getting blacklist");
|
||||||
if(typeof(_hash) == "undefined") {
|
if(typeof(_hash) == "undefined") {
|
||||||
|
console.log("hash undefined");
|
||||||
setTimeout(self.getBlacklist, 50);
|
setTimeout(self.getBlacklist, 50);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
console.log("hash: " + _hash);
|
||||||
$.getJSON("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/emotefilter.json", function(data) { bemotes = data.blacklist; });
|
$.getJSON("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/emotefilter.json", function(data) { bemotes = data.blacklist; });
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue