示例#1
0
        // Implement this method
        public void Execute(Arguments arguments)
        {
            var slackMessage = new SlackMessage
            {
                Channel  = arguments.Channel.Value,
                Text     = arguments.Text.Value,
                Username = arguments.UserName.Value
            };

            OutgoingHooks.SendMessage(slackMessage);
        }
 // Implement this method
 public void Execute(Arguments arguments)
 {
     OutgoingHooks.InitializeSlack(arguments.Webhook.Value);
 }