levoicefaible.js 766 B

12345678910111213141516171819202122232425262728
  1. const
  2. fs = require("fs"),
  3. readline = require("readline"),
  4. arrayPad = require('./strpad.js').arrayPad;
  5. Object.assign(global, require("./config.js"));
  6. function LeVoice(config) {
  7. this.config = config;
  8. }
  9. LeVoice.prototype.init = function(bot, chanName) {
  10. this.room = chanName;
  11. this.bot = bot;
  12. }
  13. LeVoice.prototype.onSelfJoin = function() { }
  14. LeVoice.prototype.onJoin = function(nick) { }
  15. LeVoice.prototype.onNameList = function(nicks) { }
  16. LeVoice.prototype.onNickPart = function(nick) { }
  17. LeVoice.prototype.onRemMode = function(user, mode) { }
  18. LeVoice.prototype.onAddMode = function(user, mode) { }
  19. LeVoice.prototype.onRename = function(oldNick, newNick) { }
  20. LeVoice.prototype.onMessage = function(user, text) { }
  21. module.exports = LeVoice;