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 (_) {}
|
} catch (_) {}
|
||||||
}
|
}
|
||||||
if (data.User?.Blacklist) return;
|
if (data.User?.Blacklist) return;
|
||||||
|
try {
|
||||||
if (
|
if (
|
||||||
domains.iplogger.includes(
|
domains.iplogger.includes(
|
||||||
message.content
|
message.content
|
||||||
|
@ -150,6 +151,7 @@ client.on("messageCreate", async message => {
|
||||||
});
|
});
|
||||||
message.delete().catch(() => {});
|
message.delete().catch(() => {});
|
||||||
}
|
}
|
||||||
|
} catch (_) {}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
message?.content.startsWith(data.Guild.Prefix) ||
|
message?.content.startsWith(data.Guild.Prefix) ||
|
||||||
|
|
2
index.js
2
index.js
|
@ -1,5 +1,5 @@
|
||||||
const NYX = require("./client/NYX");
|
const NYX = require("./client/NYX");
|
||||||
const client = new NYX();
|
const client = new NYX();
|
||||||
module.exports = client;
|
module.exports = client;
|
||||||
//process.on("unhandledRejection", () => {}); // add // when need to debug
|
process.on("unhandledRejection", () => {}); // add // when need to debug
|
||||||
client.start();
|
client.start();
|
||||||
|
|
Loading…
Reference in a new issue