Skip to content

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