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

SlackChannelJoinedListener is not listening? #261

Open
qwisatz opened this issue Mar 24, 2019 · 4 comments
Open

SlackChannelJoinedListener is not listening? #261

qwisatz opened this issue Mar 24, 2019 · 4 comments

Comments

@qwisatz
Copy link

qwisatz commented Mar 24, 2019

I'm trying to create a listener for joining users that will notify me, the listeners not working:

SlackChannelJoinedListener slackChannelJoinedListener = new SlackChannelJoinedListener() {

		@Override
		public void onEvent(SlackChannelJoined event, SlackSession session) {
			if (true) {
				System.out.println("A USER HAS JOINED"); 
			}
		}

};

session.addChannelJoinedListener(slackChannelJoinedListener);

@qwisatz qwisatz changed the title SlackChannelJoinedListener is not listener? SlackChannelJoinedListener is not listening? Mar 24, 2019
@rajanpatel4578
Copy link

I would like to work on this issue. Is this still available?

This was referenced Nov 17, 2021
@qwisatz
Copy link
Author

qwisatz commented Nov 22, 2021 via email

@rajanpatel4578
Copy link

I believe the SlackChannelJoinedListener listens and notifies only when the bot itself joins and doesn't notify when another new member, say Member B, joins. (Slack channel_joined event)
vs
MemberJoinedChannelListener (Slack member_joined_channel event) notifies the bot of all members joining- itself, a new user, or another bot.

@qwisatz
Copy link
Author

qwisatz commented Feb 8, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants