File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def run():
1414 # create channel
1515 channel_name = conf ().get ('channel_type' , 'wx' )
1616 channel = channel_factory .create_channel (channel_name )
17- if channel_name == 'wx' :
17+ if channel_name in [ 'wx' , 'wxy' ] :
1818 PluginManager ().load_plugins ()
1919
2020 # startup channel
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ async def main(self):
4141 config = conf ()
4242 token = config .get ('wechaty_puppet_service_token' )
4343 os .environ ['WECHATY_PUPPET_SERVICE_TOKEN' ] = token
44+ os .environ ['WECHATY_LOG' ]= "warn"
45+ # os.environ['WECHATY_PUPPET_SERVICE_ENDPOINT'] = '127.0.0.1:9001'
4446 self .bot = Wechaty ()
4547 self .bot .on ('login' , self .on_login )
4648 self .bot .on ('message' , self .on_message )
You can’t perform that action at this time.
0 commit comments