move files
This commit is contained in:
parent
3249697420
commit
c8e3353fe2
|
@ -1,4 +1,4 @@
|
|||
var Client = require('../lib/Client.js');
|
||||
var Client = require('./lib/Client.js');
|
||||
|
||||
global.createMPPbridge = async function createMPPbridge({room, channel, uri}) {
|
||||
channel = dClient.channels.resolve(channel);
|
||||
|
@ -194,7 +194,7 @@ global.createMPPbridge = async function createMPPbridge({room, channel, uri}) {
|
|||
// addons
|
||||
{
|
||||
// record raw data
|
||||
let createWSMessageCollector = require("../datacollector")
|
||||
let createWSMessageCollector = require("./datacollector")
|
||||
gClient.on("message", createWSMessageCollector(async function(data, startDate, endDate){
|
||||
var attachmentName = `${uri} ${room} raw data recording from ${startDate.toISOString()} to ${endDate.toISOString()} .txt.gz`;
|
||||
await channel.send(new Discord.MessageAttachment(data, attachmentName));
|
Loading…
Reference in New Issue