fix
This commit is contained in:
parent
dae0c55813
commit
6ff8a030ec
2 changed files with 77 additions and 75 deletions
|
@ -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) ||
|
||||
|
|
2
index.js
2
index.js
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue