pep.py/events/requestStatusUpdateEvent.py

8 lines
201 B
Python

from constants import serverPackets
def handle(userToken, packetData):
# Update cache and send new stats
userToken.updateCachedStats()
userToken.enqueue(serverPackets.userStats(userToken.userID))