1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-06 06:10:54 +00:00

3.5.328. Big refactor to how channel metadata is rendered. Follow buttons and SRL races are working again. Better debugging info for logs. Closes #37.

This commit is contained in:
SirStendec 2016-10-13 23:05:54 -04:00
parent 4e2c2f5056
commit 0e939e30ee
16 changed files with 859 additions and 902 deletions

View file

@ -154,11 +154,13 @@ FFZ.prototype.cache_command_aliases = function() {
// -----------------
FFZ.ffz_commands.log = function(room, args) {
this._pastebin(this._log_data.join("\n"), function(url) {
if ( ! url )
return this.room_message(room, "There was an error uploading the FrankerFaceZ log.");
this.room_message(room, "Your FrankerFaceZ log has been pasted to: " + url);
var f = this;
this.get_debugging_info().then(function(result) {
f._pastebin(result).then(function(url) {
f.room_message(room, "Your FrankerFaceZ logs have been pasted to: " + url);
}).catch(function() {
f.room_message(room, "An error occured uploading the logs to a pastebin.");
});
});
};