push rn
All checks were successful
Deploy bot / build-and-deploy (push) Successful in 26s

This commit is contained in:
2025-08-27 23:07:50 +02:00
parent aa193aa6a6
commit f3493fe2a6
4 changed files with 100 additions and 9 deletions

View File

@ -21,13 +21,16 @@ const client = new Client({
const DDRNG_GUILD_ID = 148849688722800640;
const DDRNG_ALLOWED_CHANNELS = [
496061346446835732, 499656239572058132, 771329671953776661,
556864412338749440,
];
client.commands = new Collection();
client.ownerID = 263247134147608578;
client.prefix = prefix;
client.sharedEndpoint = process.env.SHARED_ENDPOINT;
if (!client.sharedEndpoint)
return log.error("client.sharedEndpoint is undefined.");
return log.error(
"client.sharedEndpoint (process.env.SHARED_ENDPOINT) is undefined."
);
fs.readdir("./commands/", (err, files) => {
if (err) return console.error(err);
@ -68,7 +71,6 @@ client.on(Events.MessageCreate, async (message) => {
try {
await message.react(item.emoji);
} catch (err) {
message.channel.send("FAILED TO REACT TO MESSAGE! " + err);
console.error("Failed to react to message:", err);
}
}