public function getChannelAttribute()
    {
        foreach ($this->discord->guilds as $guild) {
            if ($guild->channels->has($this->channel_id)) {
                return $guild->channels->get('id', $this->channel_id);
            }
        }
    }
public function getChannelAttribute()
    {
        foreach ($this->discord->guilds as $guild) {
            if ($guild->channels->has($this->channel_id)) {
                return $guild->channels->get('id', $this->channel_id);
            }
        }
    }
public function getChannelAttribute ( ) { foreach ( $ this -> discord -> guilds as $ guild ) { if ( $ guild -> channels -> has ( $ this -> channel_id ) ) { return $ guild -> channels -> get ( 'id' , $ this -> channel_id ) ; } } }
Gets the channel attribute.

@return Channel The channel that the user started typing in.
Gets the channel attribute .