def run(self):
port = 8080
app = web.application(self.urls, {
'bot':self.bot,
'bot_commands':self.bot_commands,
'bot_status_all':self.bot_status_all})
web.httpserver.runsimple(app.wsgifunc(), ("0.0.0.0", self.port))
评论列表
文章目录