Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send a message direct to user who joins room #377

Open
SpeedyH30 opened this issue Feb 8, 2023 · 2 comments
Open

Send a message direct to user who joins room #377

SpeedyH30 opened this issue Feb 8, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@SpeedyH30
Copy link

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

@unode
Copy link
Collaborator

unode commented Mar 6, 2023

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.

@unode
Copy link
Collaborator

unode commented May 9, 2023

See #386 for possible ways to implement this.

@unode unode added enhancement New feature or request help wanted Extra attention is needed labels May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants