mmpy_bot
mmpy_bot copied to clipboard
Send a message direct to user who joins room
I've had a look through the docs and I'm struggling to see how to get the info to dm a user who is new to a channel.
The reason is I would like the bot to DM the user who has just joined a few bits of info. This is to keep the chat clean and free of spam, I would use ephemeral messages but the bot cant have admin rights on the server. Is what I'm trying to do possible? You get the @name from the system when a new user joins. any help would be appreciated
Hi @SpeedyH30
I haven't tried using them myself but in principle it should be possible. The question is if those notifications are received by the bot as Messages or as a different type of event.
I don't currently have time to dig into this but you should be able to get some info from the bot by running it in debug mode or inspecting the types of Messages received.
See #386 for possible ways to implement this.