slack
require 'net/http'
require 'uri'
require 'json'
slack_webhook_key = URI.parse("https://hooks.slack.com/services/hogehhogeasdfafdajkdshfalksfh")
send_data = {
text: "おはよおおおお!こんにちわああ!こんばんわああああ!おきてえええええ!" ,
channel: "hoge",
username: "輝夜月",
icon_emoji: ":kaguya_runa:"
}.to_json
Net::HTTP.post_form(slack_webhook_key, { payload: send_data })