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 (_) {} } 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) ||

View file

@ -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();