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

This commit is contained in:
2025-08-09 00:38:37 +02:00
parent 9782801da3
commit 312f4f80f5
2 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ client.once(Events.ClientReady, async (readyClient) => {
const data = await res.json();
client.usersToReactTo = data.map((entry) => {
const [userId, emoji] = entry.split(":");
const [userId, emoji] = entry.split("|");
return { userId, emoji };
});
} catch (e) {
@ -61,6 +61,7 @@ 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);
}
}