
class Module(object):
	def hook(self, base):
		self.ircd = base
		return self

class Mode(object):
	def hook(self, base):
		self.ircd = base
		return self
	def prefixSymbol(self):
		return None
	def checkSet(self, channel, param):
		return True
	def checkUnset(self, channel, param):
		return True
	def onJoin(self, channel, user, params):
		return "pass"
	def onMessage(self, sender, target, message):
		return ["pass"]
	def onPart(self, channel, user, reason):
		pass
	def onTopicChange(self, channel, user, topic):
		pass
	def commandData(self, command, *args):
		pass

def Command(object):
	def hook(self, base):
		self.ircd = base
		return self
	def onUse(self, user, params):
		pass

class Module(object):
	def hook(self, base):
		self.ircd = base
		return self

class Mode(object):
	def hook(self, base):
		self.ircd = base
		return self
	def prefixSymbol(self):
		return None
	def checkSet(self, channel, param):
		return True
	def checkUnset(self, channel, param):
		return True
	def onJoin(self, channel, user, params):
		return "pass"
	def onMessage(self, sender, target, message):
		return ["pass"]
	def onPart(self, channel, user, reason):
		pass
	def onTopicChange(self, channel, user, topic):
		pass
	def commandData(self, command, *args):
		pass

def Command(object):
	def hook(self, base):
		self.ircd = base
		return self
	def onUse(self, user, params):
		pass
	def processParams(self, user, params):
		return {
			"user": user,
			"params": params
		}
Add a function for commands to process parameters
Add a function for commands to process parameters

  
  class Module(object):
  	def hook(self, base):
  		self.ircd = base
  		return self
  
  class Mode(object):
  	def hook(self, base):
  		self.ircd = base
  		return self
  	def prefixSymbol(self):
  		return None
  	def checkSet(self, channel, param):
  		return True
  	def checkUnset(self, channel, param):
  		return True
  	def onJoin(self, channel, user, params):
  		return "pass"
  	def onMessage(self, sender, target, message):
  		return ["pass"]
  	def onPart(self, channel, user, reason):
  		pass
  	def onTopicChange(self, channel, user, topic):
  		pass
  	def commandData(self, command, *args):
  		pass
  
  def Command(object):
  	def hook(self, base):
  		self.ircd = base
  		return self
  	def onUse(self, user, params):
  		pass
+ 	def processParams(self, user, params):
+ 		return {
+ 			"user": user,
+ 			"params": params
+ 		}
Add a function for commands to process parameters
## Code Before:

class Module(object):
	def hook(self, base):
		self.ircd = base
		return self

class Mode(object):
	def hook(self, base):
		self.ircd = base
		return self
	def prefixSymbol(self):
		return None
	def checkSet(self, channel, param):
		return True
	def checkUnset(self, channel, param):
		return True
	def onJoin(self, channel, user, params):
		return "pass"
	def onMessage(self, sender, target, message):
		return ["pass"]
	def onPart(self, channel, user, reason):
		pass
	def onTopicChange(self, channel, user, topic):
		pass
	def commandData(self, command, *args):
		pass

def Command(object):
	def hook(self, base):
		self.ircd = base
		return self
	def onUse(self, user, params):
		pass
## Instruction:
Add a function for commands to process parameters
## Code After:

class Module(object):
	def hook(self, base):
		self.ircd = base
		return self

class Mode(object):
	def hook(self, base):
		self.ircd = base
		return self
	def prefixSymbol(self):
		return None
	def checkSet(self, channel, param):
		return True
	def checkUnset(self, channel, param):
		return True
	def onJoin(self, channel, user, params):
		return "pass"
	def onMessage(self, sender, target, message):
		return ["pass"]
	def onPart(self, channel, user, reason):
		pass
	def onTopicChange(self, channel, user, topic):
		pass
	def commandData(self, command, *args):
		pass

def Command(object):
	def hook(self, base):
		self.ircd = base
		return self
	def onUse(self, user, params):
		pass
	def processParams(self, user, params):
		return {
			"user": user,
			"params": params
		}