mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
fucking dumbass
This commit is contained in:
parent
ecd30eb896
commit
ec5ef85023
4
run.js
4
run.js
@ -105,7 +105,7 @@ DBot.prototype.t = function(string, formatData) {
|
|||||||
var module = this.stringMap[string];
|
var module = this.stringMap[string];
|
||||||
|
|
||||||
// TODO: Create per-server support
|
// TODO: Create per-server support
|
||||||
if(this.config.enableColours) {
|
/*if(this.config.enableColours) {
|
||||||
var colours = this.config.colours;
|
var colours = this.config.colours;
|
||||||
_.each(formatData, function(str, key) {
|
_.each(formatData, function(str, key) {
|
||||||
if(_.has(colours, key)) {
|
if(_.has(colours, key)) {
|
||||||
@ -116,7 +116,7 @@ DBot.prototype.t = function(string, formatData) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}*/
|
||||||
|
|
||||||
formattedString = this.strings[string][lang].format(formatData);
|
formattedString = this.strings[string][lang].format(formatData);
|
||||||
if(this.config.modules[module] && this.config.modules[module].outputPrefix) {
|
if(this.config.modules[module] && this.config.modules[module].outputPrefix) {
|
||||||
|
Loading…
Reference in New Issue
Block a user