def METHOD_NAME(self):
    if not self._registered and not self._disabled:
        COMMANDS[self.name].append(self)
        for alias in self.aliases:
            COMMANDS[alias].append(self)
        self._registered = True