forked from Galactic/galactic-bot
only register commands on first shard
This commit is contained in:
parent
53b894aea1
commit
9240686aff
@ -4,7 +4,7 @@ class Intercom {
|
||||
|
||||
this.client = client;
|
||||
|
||||
if(client.singleton) {
|
||||
if(client.singleton || client.shard.ids[0] === 0) {
|
||||
this.client.eventHooker.hook('built', () => {
|
||||
this._transportCommands();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user