matrix-bot-0.2.0: Matrix multipurpose bot
Safe HaskellNone
LanguageHaskell2010

MatrixBot.Bot.EventsListener.Handlers.ReactToUsers

Synopsis

Documentation

reactToUsers Source #

Arguments

:: (BotM r m, HasBotJobsWriter r) 
=> [BotConfigReactToUsers]

Bot configuration for “react to users” feature

-> RoomId

Matrix room where there event was sent to

-> Mxid

User ID (who sent the event)

-> EventId

Unique identifier of the event

-> m () 

Process m.room.message event and see if there is a need to leave a reaction for it.