Function used to send information on something to a mattermost server

alert_mattermost(
  msg,
  server = "https://mattermost.g-eau.fr",
  hook = "t431oh78k3fcmjtoukr1myy16o",
  user = "floodam.data",
  alert = TRUE
)

Arguments

msg

character, the message to be sent.

server

character, the address of the mattermost server

hook

character, the hook to send message

user

character, the username to be used

alert

logical, should the message be sent

Value

nothing

Examples


alert_mattermost("Sorry for disturbance, this is a test.")