galactic-bot/Intercom.js

22 lines
361 B
JavaScript
Raw Normal View History

2020-04-09 16:30:52 +02:00
class Intercom {
constructor(manager, shardManager) {
this.manager = manager;
this.shardManager = shardManager;
// this.shardManager.on('message', this.receive.bind(this));
}
send(shard, message) {
shard.send(message);
}
receive(...args) {
console.log(args);
}
}
module.exports = Intercom;