# Path: twitchapi/krakenv5/channels.py
# def getChannelId(channel):
#     return getChannelObject(channel)['_id']


import websocket
import ast
import thread
import time
import json
import ConfigParser
from twitchapi.krakenv5.channels import getChannelId
from config import EDITOR_TOKEN

config = ConfigParser.ConfigParser()
config.read('config.ini')


pingDict = {
        'type': 'PING'
}


# Path: twitchapi/krakenv5/channels.py
# def getChannelId(channel):
#     return getChannelObject(channel)['_id']


# Path: pubsub/pubsubrun.py
import websocket
import ast
import thread
import time
import json
import ConfigParser
from twitchapi.krakenv5.channels import getChannelId
from config import EDITOR_TOKEN


config = ConfigParser.ConfigParser()
config.read('config.ini')


pingDict = {
        'type': 'PING'
}


channelId = str(getChannelId(config.get('CHAT', 'channel')))