function setupGuildGroup($guild, \CharlotteDunois\Livia\Commands\CommandGroup $group, &$settings) {
        if(!isset($settings['group-'.$group->id])) {
            return;
        }
        
        $group->setEnabledIn(($guild !== 'global' ? $guild : null), $settings['group-'.$group->id]);
    }
function setupGuildGroup($guild, \CharlotteDunois\Livia\Commands\CommandGroup $group, &$settings) {
        if(!isset($settings['group-'.$group->id])) {
            return;
        }
        
        $group->setEnabledIn(($guild !== 'global' ? $guild : null), $settings['group-'.$group->id]);
    }
function setupGuildGroup ( $ guild , \ CharlotteDunois \ Livia \ Commands \ CommandGroup $ group , & $ settings ) { if ( ! isset ( $ settings [ 'group-' . $ group -> id ] ) ) { return ; } $ group -> setEnabledIn ( ( $ guild !== 'global' ? $ guild : null ) , $ settings [ 'group-' . $ group -> id ] ) ; }
Sets up a group's status in a guild from the guild's settings. Used in listener callbacks.
@param string|\CharlotteDunois\Yasmin\Models\Guild   $guild
@param \CharlotteDunois\Livia\Commands\CommandGroup  $group
@param array|\ArrayObject                            $settings
@return void
Sets up a group s status in a guild from the guild s settings . Used in listener callbacks .