forked from GitHub/dbot
		
	date info for sstats
This commit is contained in:
		
							parent
							
								
									fdfb94371e
								
							
						
					
					
						commit
						d044232cd0
					
				| @ -12,7 +12,8 @@ var commands = function(dbot) { | ||||
|                             'user': user.primaryNick, | ||||
|                             'words': uStats.words, | ||||
|                             'curses': uStats.curses, | ||||
|                             'capitals': uStats.capitals | ||||
|                             'capitals': uStats.capitals, | ||||
|                             'date': new Date(uStats.creation).format('dd/mm/YYYY') | ||||
|                         }); | ||||
|                         if(event.rChannel && _.has(uStats.channels, event.rChannel.id)) { | ||||
|                             ucStats = uStats.channels[event.rChannel.id]; | ||||
| @ -49,7 +50,8 @@ var commands = function(dbot) { | ||||
|                     if(uStats) { | ||||
|                         var output = dbot.t('sstats_tlines', {  | ||||
|                             'user': user.primaryNick, | ||||
|                             'lines': uStats.lines  | ||||
|                             'lines': uStats.lines, | ||||
|                             'date': new Date(uStats.creation).format('dd/mm/YYYY') | ||||
|                         }); | ||||
|                         if(event.rChannel && _.has(uStats.channels, event.rChannel.id)) { | ||||
|                             output += dbot.t('sstats_uclines', {  | ||||
|  | ||||
| @ -3,7 +3,7 @@ | ||||
|         "en": "Unknown user." | ||||
|     }, | ||||
|     "sstats_tlines": { | ||||
|         "en": "{user} has posted {lines} lines" | ||||
|         "en": "{user} has posted {lines} lines since {date}" | ||||
|     }, | ||||
|     "sstats_uclines": { | ||||
|         "en": " ({lines} in {channel})" | ||||
| @ -15,7 +15,7 @@ | ||||
|         "en": "{lines} lines posted in {channel}." | ||||
|     }, | ||||
|     "sstats_uwords": { | ||||
|         "en": "{user} has used {words} words ({curses} curses, {capitals} capitalised words)" | ||||
|         "en": "{user} has used {words} words ({curses} curses, {capitals} capitalised words) since {date}" | ||||
|     }, | ||||
|     "sstats_ucwords": { | ||||
|         "en": " - {words} words, {curses} curses, {capitals} capitalised words in {channel}" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 reality
						reality