Cleaned up repo and separated both bots into their respective folders
This commit is contained in:
parent
5414de60ca
commit
a9fda1fcb7
3134 changed files with 382980 additions and 31 deletions
11
sidBot-js/node_modules/node-domexception/.history/index_20210527204756.js
generated
vendored
Normal file
11
sidBot-js/node_modules/node-domexception/.history/index_20210527204756.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/*! blob-to-buffer. MIT License. Jimmy Wärting <https://jimmy.warting.se> */
|
||||
|
||||
if (!globalThis.DOMException) {
|
||||
const { MessageChannel } = require('worker_threads')
|
||||
const port = new MessageChannel().port1
|
||||
const ab = new ArrayBuffer()
|
||||
try { port.postMessage(ab, [ab, ab]) }
|
||||
catch (err) { globalThis.DOMException = err.constructor }
|
||||
}
|
||||
|
||||
module.exports = globalThis.DOMException
|
||||
Reference in a new issue