Fix spam errors lol
Some checks are pending
ptero-push / build (push) Waiting to run

This commit is contained in:
Christopher Cookman 2025-05-08 00:30:04 -06:00
parent 3f33f8f708
commit 873b3ff6c9

View file

@ -356,7 +356,7 @@ Image and product text are optional, but if they exist, they will be in the data
*/
const handleDiscordGuilds = function (data) {
const handleDiscord = function (data) {
const rawBody = data.data.body;
const text = data.data.productText;
const product_id_raw = data.data.raw
@ -554,8 +554,7 @@ function connectWebSocket() {
const data = JSON.parse(rawData);
switch (data.type) {
case "iem-message":
handleDiscordGuilds(data);
handleDiscordDMs(data);
handleDiscord(data);
break;
case "internal-response":