channelTopic(topic) {
		const { chat } = this.properties
		if(chat.channel === null) {
			chat.emit("messagePrint", { type: Chat.MESSAGE_TYPE.NETWORK, content: "No channel joined. Try /join #<channel>" })
		} else if(topic.length > ChatServer.MAXIMUM_TOPIC_LENGTH) {
			chat.emit("messagePrint", { type: Chat.MESSAGE_TYPE.NETWORK, content: `Topic cannot exceed ${ChatServer.MAXIMUM_TOPIC_LENGTH} characters.` })
		} else {
			chat.socket.emit(ChatServer.EVENT.CHANNEL_TOPIC, { topic, name: chat.channel.name })
		}
	}
/**
	 * @event ChannelsEventListener#channelTopic
	 * @property {string} topic
	 */
@event ChannelsEventListener#channelTopic
@property {string} topic
@event ChannelsEventListener#channelTopic @property { string } topic
channelTopic(topic) {
		const { chat } = this.properties
		if(chat.channel === null) {
			chat.emit("messagePrint", { type: Chat.MESSAGE_TYPE.NETWORK, content: "No channel joined. Try /join #<channel>" })
		} else if(topic.length > ChatServer.MAXIMUM_TOPIC_LENGTH) {
			chat.emit("messagePrint", { type: Chat.MESSAGE_TYPE.NETWORK, content: `Topic cannot exceed ${ChatServer.MAXIMUM_TOPIC_LENGTH} characters.` })
		} else {
			chat.socket.emit(ChatServer.EVENT.CHANNEL_TOPIC, { topic, name: chat.channel.name })
		}
	}
channelTopic ( topic ) { const { chat } = this . properties if ( chat . channel === null ) { chat . emit ( "messagePrint" , { type : Chat . MESSAGE_TYPE . NETWORK , content : "No channel joined. Try /join #<channel>" } ) } else if ( topic . length > ChatServer . MAXIMUM_TOPIC_LENGTH ) { chat . emit ( "messagePrint" , { type : Chat . MESSAGE_TYPE . NETWORK , content : ` ${ ChatServer . MAXIMUM_TOPIC_LENGTH } ` } ) } else { chat . socket . emit ( ChatServer . EVENT . CHANNEL_TOPIC , { topic , name : chat . channel . name } ) } }
@event ChannelsEventListener#channelTopic
 @property {string} topic
@event ChannelsEventListener#channelTopic @property { string } topic