forked from Galactic/galactic-bot
22 lines
361 B
JavaScript
22 lines
361 B
JavaScript
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; |