This commit is contained in:
reality 2015-03-23 16:17:32 +00:00
parent 17840f5c9c
commit 04cf918f7a
2 changed files with 4 additions and 4 deletions

View File

@ -127,13 +127,13 @@ var karma = function(dbot) {
var pre; var pre;
if(karma.karma > 0) { if(karma.karma > 0) {
pre = '[\u00039karma\u000f]'; pre = '[\u00039karma\u000f]';
karma.karma = '[\u00039'+karma.karma+'\u000f]'; karma.karma = '\u00039 '+karma.karma+'\u000f';
} else if(karma.karma < 0) { } else if(karma.karma < 0) {
pre = '[\u00034karma\u000f]'; pre = '[\u00034karma\u000f]';
karma.karma = '[\u00034'+karma.karma+'\u000f]'; karma.karma = '\u00034 '+karma.karma+'\u000f';
} else { } else {
pre = '[\u00036karma\u000f]'; pre = '[\u00036karma\u000f]';
karma.karma = '[\u00036'+karma.karma+'\u000f]'; karma.karma = '\u00036 '+karma.karma+'\u000f';
} }
event.reply(pre + ' ' + dbot.t('newkarma', { event.reply(pre + ' ' + dbot.t('newkarma', {
'item': match[1], 'item': match[1],

View File

@ -3,6 +3,6 @@
"en": "{item} has {karma} karma" "en": "{item} has {karma} karma"
}, },
"newkarma": { "newkarma": {
"en": "{item} now has {value} karma" "en": "{item} now has{value} karma"
} }
} }