forked from GitHub/dbot
Hook ~setaliasparent and ~mergeusers [Fix #218]
This commit is contained in:
parent
55c490f50f
commit
78e0e60083
@ -33,6 +33,10 @@ var profile = function(dbot) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
dbot.save();
|
dbot.save();
|
||||||
|
|
||||||
|
// Add API Hooks
|
||||||
|
dbot.api.command.addHook('~setaliasparent', this.api.renameProfile);
|
||||||
|
dbot.api.command.addHook('~mergeusers', this.api.mergeProfile);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user