#Protix help

1 messages · Page 1 of 1 (latest)

dark void
#

@lost mango just talk here. Can't call but this should be quieter

lost mango
#

Okay so, theres an application you cantrigger, when you trigger it, you get asked a bunch of quesitons you can answer. The answers get sent into a channel for review.

dark void
#

Yeah, that is the embed you were accessing earlier correct?

lost mango
#

When they go under review, you need to accept or reject it.

#

Uhm yeah

dark void
#

I'm just puzzled as to where the Unknown Message error comes from.

lost mango
#

So this is under review, i can /whitelist accept it

#

SOemone said it was this:

#

Im taking the original embed, and then changing the footer and the color, sending in to a logs channel

#

When deleting the original one in the review channel

dark void
#

so forLagEmbed.edit() shouldn't that be in an object? Like:


forLagEmbed.edit({embeds: [acceptEmbed]});
lost mango
#

Im not sure, it edits it anyways, but i can try

dark void
#

ok then no need to mess with it.

lost mango
#

For some reason i dont get an error now

#

wtf

dark void
#

I think what confuses me is you are deleting the edited embed two lines after you edit it, why not just delete it and not edit it.

#

so its working fine now?

lost mango
#

its because im editing it to say in the footer that the review went fine and its accepted.

#

Then im sending it to a new channel

#

But the original one is still there

#

Wait, i think i can try something

dark void
#

I think that what you want to do is not what you are doing 🤣

lost mango
#

😭

dark void
#

Where does forLagEmbed come from? is it an embed in a DM or somewhere else?

#

because if you edit it, it should replace the original one, instead of send a new one.

lost mango
#

Its a collector collecting messages, then sending the results.

#

When all the questions have been answered, it sends it to a channel

#

From there if it gets verified, it goes to another "verified" channel

#

So it needs to be green and the footer needs to change

dark void
#

Sorry trying to make sure i understand completely.

#

oh okay.

lost mango
#

Yeah the original one is the one im deleting

dark void
#

try editing it in an object like i stated before that might be the fix we are looking for.

forLagEmbed.edit({embeds: [acceptEmbed]});

that might override the embed already there

lost mango
#

if not, it just stays in the "get verified channel", while the original embed

#

i mean

#

while the edited embed gets sent to a new channel

dark void
#

the edited embed you are referring to that is getting sent to a new channel is await logs.send({embeds: [acceptEmbed]}): correct?

lost mango
#

Yes

dark void
#

the original embed you are editing using forLagEmbed.edit(acceptEmbed) though, why then if its getting sent to a new channel.

lost mango
#

Its the code aboce

#

Im editing it with acceptembed

#

The code above

#

Oh wait

dark void
#

yes?

lost mango
#

Do i even need to edit it

#

I have det data in the accept embed

dark void
#

no

lost mango
#

let me delete it then

#

That should be the problem right?

dark void
#

i assume you meant i have its data in accept embed instead of det lol a bit of Scandinavian showing there

dark void
#

for this specific case anyways.

lost mango
#

Exactly

#

And the scandinavian showed

#

hahahha

dark void
#

So du bra?

lost mango
#

I think so, im just nervous, its the first product ive sold, and its for a big server

#

So i hope so

dark void
#

makes sense. I program for a bot that has 6+ Million users. Anxiety is all i feel most days lmao

lost mango
#

jesus christ

#

first users are using the application now

#

10+ :III

#

No errors yet 😄

dark void
#

I would state to them that you are leaving it in a "testing" state for a week or two, just so you can identify and fix any major issues. That will give you some leeway for any unforseen issues that come up.

lost mango
#

I did, just to make sure

dark void