code: func (mod *SlackBee) Action(action bees.Action) []bees.Placeholder {
  	outs := []bees.Placeholder{}
  
  	switch action.Name {
  	case "send":
  		tos := []string{}
  		text := ""
  		action.Options.Bind("text", &text)
  
  		for _, opt := range action.Options {
  			if opt.Name == "channel" {
  				cid := mod.findChannelID(opt.Value.(string), false)
  				if cid != "" {
  					tos = append(tos, cid)
  				} else {
  					mod.Logf("Error: channel ID for %s not found", opt.Value.(string))
  				}
  			}
  		}
  
  		msgParams := slack.NewPostMessageParameters()
  		msgParams.LinkNames = 1
  		for _, to := range tos {
  			_, _, err := mod.client.PostMessage(to, slack.MsgOptionText(text, false), slack.MsgOptionPostMessageParameters(msgParams))
  			if err != nil {
  				mod.Logf("Error posting message to the slack channel %s: %s", to, err)
  			}
  		}
  	default:
  		panic("Unknown action triggered in " + mod.Name() + ": " + action.Name)
  	}
  
  	return outs
  }
docs: // Action triggers the action passed to it.