<commit_before>from txircd.utils import CaseInsensitiveDictionary, now()

class IRCChannel(object):
	def __init__(self, name):
		self.name = name
		self.created = now()
		self.topic = ""
		self.topicSetter = ""
		self.topicTime = now()
		self.mode = {}
		self.users = CaseInsensitiveDictionary()
		self.metadata = {}
	
	def name(self):
		return self.name
	
	def setTopic(self, topic, setter):
		self.topic = topic
		self.topicSetter = setter
		self.topicTime = now()
	
	def setMode(self, modeList):
		pass
	
	def unsetMode(self, modeList):
		pass
	
	def getMetadata(self, key):
		if key in self.metadata:
			return self.metadata[key]
		return ""
	
	def setMetadata(self, key, value):
		self.metadata[key] = value<commit_msg>Remove another unnecessary channel function<commit_after>from txircd.utils import CaseInsensitiveDictionary, now()

class IRCChannel(object):
	def __init__(self, name):
		self.name = name
		self.created = now()
		self.topic = ""
		self.topicSetter = ""
		self.topicTime = now()
		self.mode = {}
		self.users = CaseInsensitiveDictionary()
		self.metadata = {}
	
	def setTopic(self, topic, setter):
		self.topic = topic
		self.topicSetter = setter
		self.topicTime = now()
	
	def setMode(self, modeList):
		pass
	
	def unsetMode(self, modeList):
		pass
	
	def getMetadata(self, key):
		if key in self.metadata:
			return self.metadata[key]
		return ""
{'fraction_non_alphanumeric': 0.12017479970866715, 'fraction_numerical': 0.0, 'mean_word_length': 3.907142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1155381', 'n_tokens_mistral': 506, 'n_tokens_neox': 445, 'n_words': 113}