mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-23 15:47:57 -05:00
move useChat in tellraw plugin + remove unused eslint comment thingy
This commit is contained in:
parent
9986dd31ed
commit
5b299d536a
61 changed files with 24 additions and 85 deletions
1
bot.js
1
bot.js
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
|
|
||||||
const mc = require('minecraft-protocol')
|
const mc = require('minecraft-protocol')
|
||||||
const crypto = require('crypto')
|
const crypto = require('crypto')
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'ayunsudo',
|
name: 'ayunsudo',
|
||||||
alias: [],
|
alias: [],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'botuser',
|
name: 'botuser',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'botvisibility',
|
name: 'botvisibility',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'bruhify',
|
name: 'bruhify',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'cb',
|
name: 'cb',
|
||||||
alias: ['cmd', 'commandblock', 'run'],
|
alias: ['cmd', 'commandblock', 'run'],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const changelog = require('../changelog.json')
|
const changelog = require('../changelog.json')
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'clearchat',
|
name: 'clearchat',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'clearchatqueue',
|
name: 'clearchatqueue',
|
||||||
description: 'Clears the bot\'s chat queue',
|
description: 'Clears the bot\'s chat queue',
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
function add (command, interval, bot) {
|
function add (command, interval, bot) {
|
||||||
const id = setInterval(() => bot.core.run(command), interval)
|
const id = setInterval(() => bot.core.run(command), interval)
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const cowsay = require('cowsay2')
|
const cowsay = require('cowsay2')
|
||||||
const cows = require('cowsay2/cows')
|
const cows = require('cowsay2/cows')
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const sleep = require('sleep-promise')
|
const sleep = require('sleep-promise')
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'creator',
|
name: 'creator',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'discord',
|
name: 'discord',
|
||||||
alias: [],
|
alias: [],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { resize } = require('../util/image')
|
const { resize } = require('../util/image')
|
||||||
const axios = require('axios')
|
const axios = require('axios')
|
||||||
const sharp = require('sharp')
|
const sharp = require('sharp')
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'eaglercrash',
|
name: 'eaglercrash',
|
||||||
alias: [],
|
alias: [],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'echo',
|
name: 'echo',
|
||||||
alias: [],
|
alias: [],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'end',
|
name: 'end',
|
||||||
alias: [],
|
alias: [],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'entity',
|
name: 'entity',
|
||||||
alias: [],
|
alias: [],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
const { VM } = require('vm2')
|
const { VM } = require('vm2')
|
||||||
const axios = require('axios')
|
const axios = require('axios')
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'executebypass',
|
name: 'executebypass',
|
||||||
alias: [],
|
alias: [],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'gamemodeall',
|
name: 'gamemodeall',
|
||||||
alias: [],
|
alias: [],
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
/* eslint-disable no-var */
|
/* eslint-disable no-var */
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'help',
|
name: 'help',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'list',
|
name: 'list',
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/* eslint-disable no-case-declarations */
|
/* eslint-disable no-case-declarations */
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
/* eslint-disable max-len */
|
|
||||||
const fs = require('fs/promises')
|
const fs = require('fs/promises')
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'netmsg',
|
name: 'netmsg',
|
||||||
alias: ['networkmessage', 'irc'],
|
alias: ['networkmessage', 'irc'],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { between } = require('../util/between')
|
const { between } = require('../util/between')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'rtp',
|
name: 'rtp',
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable no-eval */
|
/* eslint-disable no-eval */
|
||||||
/* eslint-disable max-len */
|
|
||||||
const util = require('util')
|
const util = require('util')
|
||||||
const { stylize } = require('../util/colors/minecraft')
|
const { stylize } = require('../util/colors/minecraft')
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'test',
|
name: 'test',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
const moment = require('moment-timezone')
|
const moment = require('moment-timezone')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'tpall',
|
name: 'tpall',
|
||||||
alias: [],
|
alias: [],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
const translate = require('@vitalets/google-translate-api')
|
const translate = require('@vitalets/google-translate-api')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
const { secondsToHms } = require('../util/secondToHms')
|
const { secondsToHms } = require('../util/secondToHms')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const urban = require('urban-dictionary')
|
const urban = require('urban-dictionary')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'urban',
|
name: 'urban',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'uuid',
|
name: 'uuid',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'validate',
|
name: 'validate',
|
||||||
description: 'Validates hash',
|
description: 'Validates hash',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const wiki = require('wikipedia')
|
const wiki = require('wikipedia')
|
||||||
const util = require('util')
|
const util = require('util')
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
version: '1.18.2',
|
version: '1.18.2',
|
||||||
prefixes: [
|
prefixes: [
|
||||||
|
|
1
index.js
1
index.js
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const readline = require('node:readline')
|
const readline = require('node:readline')
|
||||||
const { stdin: input, stdout: output } = require('node:process')
|
const { stdin: input, stdout: output } = require('node:process')
|
||||||
const rl = readline.createInterface({ input, output })
|
const rl = readline.createInterface({ input, output })
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
// const parse = require('../util/text_parser');
|
// const parse = require('../util/text_parser');
|
||||||
const { containsIllegalCharacters } = require('../util/containsIllegalCharacters')
|
const { containsIllegalCharacters } = require('../util/containsIllegalCharacters')
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
/* eslint-disable max-len */
|
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const { MessageEmbed } = require('discord.js')
|
const { MessageEmbed } = require('discord.js')
|
||||||
function inject (bot, dcclient, config) {
|
function inject (bot, dcclient, config) {
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/* eslint-disable no-eval */
|
/* eslint-disable no-eval */
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
/* eslint-disable max-len */
|
|
||||||
const moment = require('moment-timezone')
|
const moment = require('moment-timezone')
|
||||||
const util = require('util')
|
const util = require('util')
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
const nbt = require('prismarine-nbt')
|
const nbt = require('prismarine-nbt')
|
||||||
const Vec3 = require('vec3')
|
const Vec3 = require('vec3')
|
||||||
|
|
||||||
|
@ -7,22 +6,12 @@ const relativePosition = new Vec3(0, 0, 0)
|
||||||
|
|
||||||
function inject (bot, dcclient, config) {
|
function inject (bot, dcclient, config) {
|
||||||
const mcData = require('minecraft-data')(bot.version)
|
const mcData = require('minecraft-data')(bot.version)
|
||||||
const chatMessage = require('prismarine-chat')(bot.version)
|
|
||||||
const core = {
|
const core = {
|
||||||
isCore (position) {
|
isCore (position) {
|
||||||
return position.x >= core.start.x && position.x <= core.end.x && position.y >= core.start.y && position.y <= core.end.y && position.z >= core.start.z && position.z <= core.end.z
|
return position.x >= core.start.x && position.x <= core.end.x && position.y >= core.start.y && position.y <= core.end.y && position.z >= core.start.z && position.z <= core.end.z
|
||||||
},
|
},
|
||||||
run (command) {
|
run (command) {
|
||||||
try {
|
try {
|
||||||
if (config.chat.useChat &&
|
|
||||||
command.startsWith('minecraft:tellraw @a ') &&
|
|
||||||
!command.includes('Console') &&
|
|
||||||
!command.includes('Discord')
|
|
||||||
) {
|
|
||||||
bot.chat(chatMessage.fromNotch(command.replace('minecraft:tellraw @a ', '')).toMotd().replaceAll('\xa7', '&'))
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
relativePosition.x++
|
relativePosition.x++
|
||||||
|
|
||||||
if (relativePosition.x >= 16) {
|
if (relativePosition.x >= 16) {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { escapeMarkdown } = require('../util/escapeMarkdown')
|
const { escapeMarkdown } = require('../util/escapeMarkdown')
|
||||||
async function inject (bot, dcclient, config) {
|
async function inject (bot, dcclient, config) {
|
||||||
const chatMessage = require('prismarine-chat')(bot.version)
|
const chatMessage = require('prismarine-chat')(bot.version)
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const convert = require('color-convert')
|
const convert = require('color-convert')
|
||||||
|
|
||||||
// eslint-disable-next-line require-jsdoc
|
// eslint-disable-next-line require-jsdoc
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const crypto = require('crypto')
|
const crypto = require('crypto')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
inject: function (bot, dcclient, config) {
|
inject: function (bot, dcclient, config) {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
/* eslint-disable max-len */
|
|
||||||
const { Midi } = require('@tonejs/midi')
|
const { Midi } = require('@tonejs/midi')
|
||||||
const { convertMidi } = require('../util/midi_converter')
|
const { convertMidi } = require('../util/midi_converter')
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
class PlayerList {
|
class PlayerList {
|
||||||
list = []
|
list = []
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
function inject (bot) {
|
function inject (bot) {
|
||||||
bot.position = { x: 0, y: 0, z: 0 }
|
bot.position = { x: 0, y: 0, z: 0 }
|
||||||
bot._client.on('position', (position) => {
|
bot._client.on('position', (position) => {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
const util = require('util')
|
const util = require('util')
|
||||||
const mc = require('minecraft-protocol')
|
const mc = require('minecraft-protocol')
|
||||||
const { loadPlugins } = require('../util/loadPlugins')
|
const { loadPlugins } = require('../util/loadPlugins')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
const { chatPacketListener, parsePlayerMessages } = require('../../util/chat')
|
const { chatPacketListener, parsePlayerMessages } = require('../../util/chat')
|
||||||
function inject (bot, client, target) {
|
function inject (bot, client, target) {
|
||||||
const ChatMessage = require('prismarine-chat')(bot.version)
|
const ChatMessage = require('prismarine-chat')(bot.version)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
function inject (bot, client, target) {
|
function inject (bot, client, target) {
|
||||||
const { MessageBuilder } = require('prismarine-chat')(bot.version)
|
const { MessageBuilder } = require('prismarine-chat')(bot.version)
|
||||||
client.on('packet', (data, meta) => {
|
client.on('packet', (data, meta) => {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
function inject (bot, client, target, config) {
|
function inject (bot, client, target, config) {
|
||||||
let cspy = false
|
let cspy = false
|
||||||
let op = true
|
let op = true
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
/* eslint-disable max-len */
|
|
||||||
function inject (bot, dcclient, config) {
|
function inject (bot, dcclient, config) {
|
||||||
let vanish = false
|
let vanish = false
|
||||||
let cspy = false
|
let cspy = false
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
/* eslint-disable require-jsdoc */
|
function inject (bot, dcclient, config) {
|
||||||
/* eslint-disable max-len */
|
const ChatMessage = require('prismarine-chat')(bot.version)
|
||||||
function inject (bot) {
|
|
||||||
bot.tellraw = function (selector, message) {
|
bot.tellraw = function (selector, message) {
|
||||||
|
if (config.chat.useChat && selector === '@a') {
|
||||||
|
bot.chat(ChatMessage.fromNotch(message).toMotd().replaceAll('\xa7', '&'))
|
||||||
|
return
|
||||||
|
}
|
||||||
bot.core.run(`minecraft:tellraw ${selector} ${typeof message === 'string' ? message : JSON.stringify(message)}`)
|
bot.core.run(`minecraft:tellraw ${selector} ${typeof message === 'string' ? message : JSON.stringify(message)}`)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
/**
|
/**
|
||||||
* for the chat packet listener (in util cuz proxy + bot)
|
* for the chat packet listener (in util cuz proxy + bot)
|
||||||
* @param {object} packet chat packet
|
* @param {object} packet chat packet
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
const styles = {
|
const styles = {
|
||||||
bigint: '\xa76',
|
bigint: '\xa76',
|
||||||
boolean: '\xa76',
|
boolean: '\xa76',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
/**
|
/**
|
||||||
* character allowed in mc chat
|
* character allowed in mc chat
|
||||||
* @param {String} character the character
|
* @param {String} character the character
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const profanityNames = ['Eagler', 'Eagler', 'Bitch', 'Cock', 'Milf', 'Milf', 'Yeer', 'Groon',
|
const profanityNames = ['Eagler', 'Eagler', 'Bitch', 'Cock', 'Milf', 'Milf', 'Yeer', 'Groon',
|
||||||
'Eag', 'Deevis', 'Chode', 'Deev', 'Deev', 'Fucker', 'Fucking',
|
'Eag', 'Deevis', 'Chode', 'Deev', 'Deev', 'Fucker', 'Fucking',
|
||||||
'Dumpster', 'Dumpster', 'Cum', 'Chad', 'Egg', 'Fudgler', 'Fudgli',
|
'Dumpster', 'Dumpster', 'Cum', 'Chad', 'Egg', 'Fudgler', 'Fudgli',
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
const fs = require('fs/promises')
|
const fs = require('fs/promises')
|
||||||
const util = require('util')
|
const util = require('util')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
/* eslint-disable require-jsdoc */
|
|
||||||
const { Midi } = require('@tonejs/midi')
|
const { Midi } = require('@tonejs/midi')
|
||||||
const { convertNote, convertPercussionNote } = require('./convert_note.js')
|
const { convertNote, convertPercussionNote } = require('./convert_note.js')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue