Skip to content

Nikko Lab 6 #10

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

npisciotti1
Copy link

No description provided.

server.js Outdated
});

ee.on('*', function(client, data) {
let nickname = data.toString().split('').slice(1).join('');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line here is the one I talked to you about. It's not quite grabbing the new nickname the way you are intending. You can console.log(nickname) here and you will see what's going on.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks Jeff, got it figured out!

- '*[nickname]' (will allow any user to change their publicly displaying nick name.
- '-help' (will print out all available commands).

**Note that when using @dm there is a space between [username] and the command. whereas with *[username]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like an incomplete

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

Successfully merging this pull request may close these issues.

3 participants