예제 #1
0
    def getPersonCommands(self):
        """finds person commands

		these commands are methods on me that start with imperson_; they are
		called with no arguments
		"""
        return prefixedMethods(self, "imperson_")
예제 #2
0
    def getGroupCommands(self):
        """finds group commands

		these commands are methods on me that start with imgroup_; they are
		called with no arguments
		"""
        return prefixedMethods(self, "imgroup_")
예제 #3
0
	def getPersonCommands(self):
		"""finds person commands

		these commands are methods on me that start with imperson_; they are
		called with no arguments
		"""
		return prefixedMethods(self, "imperson_")
예제 #4
0
	def getGroupCommands(self):
		"""finds group commands

		these commands are methods on me that start with imgroup_; they are
		called with no arguments
		"""
		return prefixedMethods(self, "imgroup_")
예제 #5
0
    def getTargetCommands(self, target):
        """finds group commands

		these commands are methods on me that start with imgroup_; they are
		called with a user present within this room as an argument

		you may want to override this in your group in order to filter for
		appropriate commands on the given user
		"""
        return prefixedMethods(self, "imtarget_")
예제 #6
0
	def getTargetCommands(self, target):
		"""finds group commands

		these commands are methods on me that start with imgroup_; they are
		called with a user present within this room as an argument

		you may want to override this in your group in order to filter for
		appropriate commands on the given user
		"""
		return prefixedMethods(self, "imtarget_")