How to update token when user logs in

So i have function with all the credentials and I want to update the token eveytime user logs in. I get the token using socket.on but im not sure how to update the bot so all the bots commands will be in his account. Any help would be appreciated thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.