mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 11:42:36 +01:00
karma
This commit is contained in:
parent
5cbb0362c0
commit
4446825458
@ -23,7 +23,7 @@ var karma = function(dbot) {
|
||||
this.commands = {
|
||||
'karma': function(event) {
|
||||
var item = event.params[1] || event.user;
|
||||
this.internalAPI.getKarma(event.server, item, function(err, karma) {
|
||||
this.internalAPI.getKarma(item, function(err, karma) {
|
||||
if(karma) {
|
||||
karma = karma.karma;
|
||||
event.reply(dbot.t('karma', {
|
||||
|
Loading…
Reference in New Issue
Block a user