|
|
@ -1,8 +1,8 @@
|
|
|
|
|
|
|
|
const commands = require('./commands.js');
|
|
|
|
const fs = require('fs');
|
|
|
|
const fs = require('fs');
|
|
|
|
const remoteExec = require('./remoteExec.js');
|
|
|
|
const remoteExec = require('./remoteExec.js');
|
|
|
|
const sdk = require('matrix-js-sdk');
|
|
|
|
const sdk = require('matrix-js-sdk');
|
|
|
|
const yaml = require('js-yaml');
|
|
|
|
const yaml = require('js-yaml');
|
|
|
|
const commands = require('./commands.js');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
global.config = yaml.safeLoad(fs.readFileSync('config.yaml'));
|
|
|
|
global.config = yaml.safeLoad(fs.readFileSync('config.yaml'));
|
|
|
|
const matrixClient = sdk.createClient({
|
|
|
|
const matrixClient = sdk.createClient({
|
|
|
|