#Roast CSP's Code

1 messages · Page 2 of 1

manic field
#

ill open an issue you don't need to do it rn. there are other things you can fix first

covert crater
#

Uhhhh aws changed their login hmmge

manic field
#

"send your aws login in any channel"

covert crater
#

No god kekw

manic field
#

btw i needed you to send the jwt secret in two parts because the repliedTo only returns the first 32 chars of the replied message

covert crater
#

Ahhhhh yes i remember trimming the content

#

I uhhhh cant find my aws creds

manic field
#

smh

covert crater
#

Oh wait got them

#

Bruh they are wrong hmmge

#

Ohhhh lmao i used another account

#

Interesting

#

idk how to see the specs

manic field
#

you probably have enough disk to locally host the mongodb

covert crater
#

Well i ran a command and it gave me specs

manic field
#

and as for ram you definitely can keep all users and channels in memory

covert crater
#

Soooo its intel xeon platinum 8259CL @2.50GHz
And there are 2 cpus wtf
And the storage is 15GiB

#

I dont see ram lemme check it

#

I think ram is 2 gb but i am not 100%sure

#

Lmao

#

1GB kekw

manic field
#

hmmmmm its still enough

#

wait so what are you working on right now

covert crater
#

Nothing tbh
Just fixing the existing bugs

manic field
#

did you fix the reply bug

covert crater
#

Doing it xd

manic field
covert crater
#

i have no idea
But ig i will check if the user exists in reply message's channel

manic field
#

you really just want to hit the db as many times as possible

covert crater
#

I wonder if i can use populate pikathink

manic field
#

well ping me when you figure out how to do it

#

and then after ill show you a better way

covert crater
#

ok so did something else

#

i am checking if the repliedTo message's channel id equal to the query channelid

manic field
#

oh that's smart i didn't think of that

#

but now you do that every time you fetch channel messages right?

covert crater
#

oh no
this is when posting the message

manic field
#

oh okay good

#

nice that's what i would do

covert crater
#

in get messages the repliedTo just gets populated