This commit is contained in:
NK 2023-04-14 13:33:26 +01:00
parent dae0c55813
commit 6ff8a030ec
2 changed files with 77 additions and 75 deletions

View file

@ -70,6 +70,7 @@ client.on("messageCreate", async message => {
} catch (_) {}
}
if (data.User?.Blacklist) return;
try {
if (
domains.iplogger.includes(
message.content
@ -150,6 +151,7 @@ client.on("messageCreate", async message => {
});
message.delete().catch(() => {});
}
} catch (_) {}
if (
message?.content.startsWith(data.Guild.Prefix) ||

View file

@ -1,5 +1,5 @@
const NYX = require("./client/NYX");
const client = new NYX();
module.exports = client;
//process.on("unhandledRejection", () => {}); // add // when need to debug
process.on("unhandledRejection", () => {}); // add // when need to debug
client.start();