function callbackGroupRegister(\CharlotteDunois\Livia\Commands\CommandGroup $group) {
        foreach($this->settings as $guild => $settings) {
            if($guild !== 'global' && !$this->client->guilds->has($guild)) {
                continue;
            }
            
            $this->setupGuildGroup($guild, $group, $settings);
        }
    }
function callbackGroupRegister(\CharlotteDunois\Livia\Commands\CommandGroup $group) {
        foreach($this->settings as $guild => $settings) {
            if($guild !== 'global' && !$this->client->guilds->has($guild)) {
                continue;
            }
            
            $this->setupGuildGroup($guild, $group, $settings);
        }
    }
function callbackGroupRegister ( \ CharlotteDunois \ Livia \ Commands \ CommandGroup $ group ) { foreach ( $ this -> settings as $ guild => $ settings ) { if ( $ guild !== 'global' && ! $ this -> client -> guilds -> has ( $ guild ) ) { continue ; } $ this -> setupGuildGroup ( $ guild , $ group , $ settings ) ; } }
The callback for the group register and reregister event.
@param \CharlotteDunois\Livia\Commands\CommandGroup  $group
@return void
The callback for the group register and reregister event .