When a user changes their name no events are dispatched, likewise there is no way to retrieve a userID by their username. The only method of achieving this currently is to call bot.getUsers(), but that is less than ideal when you only want one users info.
When a user changes their name no events are dispatched, likewise there is no way to retrieve a userID by their username. The only method of achieving this currently is to call bot.getUsers(), but that is less than ideal when you only want one users info.