2016-05-18 17:12:46 +00:00
|
|
|
from constants import clientPackets
|
2016-07-14 10:37:07 +00:00
|
|
|
from helpers import chatHelper as chat
|
2016-04-19 17:40:59 +00:00
|
|
|
|
|
|
|
def handle(userToken, packetData):
|
2016-07-14 10:37:07 +00:00
|
|
|
# Channel join packet
|
2016-04-19 17:40:59 +00:00
|
|
|
packetData = clientPackets.channelPart(packetData)
|
2016-08-10 10:24:41 +00:00
|
|
|
chat.partChannel(token=userToken, channel=packetData["channel"])
|