--- Remove Org -- A simple module that calls a consent process on an org to remove it. -- Depends on the Consent module. remove_org = {} --- (Required): setup table containing name and description of the module remove_org.setup = { name = "Remove this org", slug = "remove_org", desc = "Removes an org if all members consent." } --- Initiate function --
  • self.org (the org the module was called in),
  • --
  • self.initiator (the user that callced the module),
  • --
  • self.id (the process id of the module instance)
  • -- @function initiate function remove_org:initiate(config, result) -- call result function if result then result() end end