-
Notifications
You must be signed in to change notification settings - Fork 15
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
base: master
Are you sure you want to change the base?
Nikko Lab 6 #10
Conversation
server.js
Outdated
}); | ||
|
||
ee.on('*', function(client, data) { | ||
let nickname = data.toString().split('').slice(1).join(''); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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] |
There was a problem hiding this comment.
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
No description provided.