mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
15 lines
343 B
JavaScript
15 lines
343 B
JavaScript
const MusicClient = require("./client.js");
|
|
const DiscordWebhook = require("discord-webhook-node");
|
|
const client = new MusicClient({});
|
|
|
|
const oldConsole = {};
|
|
oldConsole.log = console.log;
|
|
console.log = function (arg) {
|
|
oldConsole.log(arg);
|
|
};
|
|
|
|
oldConsole.error = console.error;
|
|
console.error = function (arg) {
|
|
oldConsole.error(arg);
|
|
};
|