mirror of
				https://github.com/reality/dbot.git
				synced 2025-10-31 07:47:33 +01:00 
			
		
		
		
	remove the bs formatting shit from run innit
This commit is contained in:
		
							parent
							
								
									93915c7c5f
								
							
						
					
					
						commit
						9e98f2799d
					
				
							
								
								
									
										14
									
								
								run.js
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								run.js
									
									
									
									
									
								
							| @ -104,20 +104,6 @@ DBot.prototype.t = function(string, formatData) { | ||||
|         if(_.has(this.strings[string], lang)) { | ||||
|             var module = this.stringMap[string]; | ||||
| 
 | ||||
|             // TODO: Create per-server support
 | ||||
|             /*if(this.config.enableColours) { | ||||
|                 var colours = this.config.colours; | ||||
|                 _.each(formatData, function(str, key) { | ||||
|                     if(_.has(colours, key)) { | ||||
|                         if(key == 'channel' && _.has(colours['channel'], key)) { | ||||
|                              | ||||
|                         } else { | ||||
|                             str = colours[key] + str + '\u000f'; | ||||
|                         } | ||||
|                     } | ||||
|                 }); | ||||
|             }*/ | ||||
| 
 | ||||
|             formattedString = this.strings[string][lang].format(formatData); | ||||
|             if(this.config.modules[module] && this.config.modules[module].outputPrefix) { | ||||
|                 formattedString = '[' + this.config.modules[module].outputPrefix + '] ' + | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 reality
						reality