move files

This commit is contained in:
Lamp 2022-01-03 19:21:13 -08:00
parent 3249697420
commit c8e3353fe2
13 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ dClient.once('ready', () => {
require('./local_events');
require('./commands');
require('./mppbridger');
require('./mppbridger');
require('./misc');
require('./ddpbridge');
require('./prbridge');

View File

@ -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));