channelSet(channel) {
		const { chat } = this.properties
		if(chat.channel !== null) {
			chat.emit("channelUnset", chat.channel)
		}
		chat.channel = channel
		chat.emit("topicShow")
		this.identifier.network.style.backgroundColor = ""
		chat.channel = channel
		if (channel.disconnected === true) {
			chat.emit("userCounterClear")
		} else {
			chat.emit("usersListShow")
			for (const user of chat.channel.users) {
				chat.emit("userAdd", { user, channel: chat.channel })
			}
		}
	}
/**
	 * @event ChannelsEventListener#channelSet
	 * @property {object} channel
	 */
@event ChannelsEventListener#channelSet
@property {object} channel
@event ChannelsEventListener#channelSet @property { object } channel
channelSet(channel) {
		const { chat } = this.properties
		if(chat.channel !== null) {
			chat.emit("channelUnset", chat.channel)
		}
		chat.channel = channel
		chat.emit("topicShow")
		this.identifier.network.style.backgroundColor = ""
		chat.channel = channel
		if (channel.disconnected === true) {
			chat.emit("userCounterClear")
		} else {
			chat.emit("usersListShow")
			for (const user of chat.channel.users) {
				chat.emit("userAdd", { user, channel: chat.channel })
			}
		}
	}
channelSet ( channel ) { const { chat } = this . properties if ( chat . channel !== null ) { chat . emit ( "channelUnset" , chat . channel ) } chat . channel = channel chat . emit ( "topicShow" ) this . identifier . network . style . backgroundColor = "" chat . channel = channel if ( channel . disconnected === true ) { chat . emit ( "userCounterClear" ) } else { chat . emit ( "usersListShow" ) for ( const user of chat . channel . users ) { chat . emit ( "userAdd" , { user , channel : chat . channel } ) } } }
@event ChannelsEventListener#channelSet
 @property {object} channel
@event ChannelsEventListener#channelSet @property { object } channel