[PHP - Discord API ] User Discord get "Ephemeral Message" from Chatbot Development -- 3

Completed Posted 2 months ago Paid on delivery
Completed Paid on delivery

I am a PHP programmer. I have programmed a function that sends commands to the API [login to view URL] to request the bot to perform some commands. However, the server returns 204 No Content. I checked the group chat logs, I saw that Discord returned a type of message called "Ephemeral Message".

I understand this type of message is temporary and can only be seen by me and the bot. I need you to help me write a PHP function that can somehow retrieve data from that "Ephemeral Message". Because when I have data, I have parameters to send the next command.

some note that i have viewsource and network tab, i see it is communicated through websocket, you can try in that direction. This is the js code of discord itself

< script nonce = "MjgsMjI4LDIzMiwxOTEsMjExLDEzNiw1LDIzMw==" > ! function() {

if (null != [login to view URL]) {

if (function(n) {

try {

var e = [login to view URL](n);

return null == e ? null : [login to view URL](e)

} catch (n) {

return null

}

}("token") && !window.__OVERLAY__) {

var n = null != [login to view URL] || null != [login to view URL] ? "etf" : "json",

e = window.GLOBAL_ENV.GATEWAY_ENDPOINT + "/?encoding=" + n + "&v=" + window.GLOBAL_ENV.API_VERSION + "&compress=zlib-stream";

[login to view URL]("[FAST CONNECT] connecting to: " + e);

var o = new WebSocket(e);

[login to view URL] = "arraybuffer";

var t = [login to view URL](),

i = {

open: !1,

identify: !1,

gateway: e,

messages: []

};

[login to view URL] = function() {

[login to view URL]("[FAST CONNECT] connected in " + ([login to view URL]() - t) + "ms"), [login to view URL] = !0

}, [login to view URL] = [login to view URL] = function() {

window._ws = null

}, [login to view URL] = function(n) {

[login to view URL](n)

}, window._ws = {

ws: o,

state: i

}

}

}

}()

PHP Discord API Socket IO

Project ID: #37850484

About the project

19 proposals Remote project Active 2 mos ago

Awarded to:

BlueLi0n

Hi im BlueLion im Discord Dev but with python , i can help you in your script or we can do it with python and php together , let's have discuss in chat

$40 USD in 1 day
(5 Reviews)
2.6

19 freelancers are bidding on average $121 for this job

sagarwal3005

Hello, I can start immediately. I have 13+ years of experience and I ensure you I can complete the project within budget and timeline. I'm not just a developer; I'm your dedicated partner. I'm committed to working with More

$189 USD in 7 days
(140 Reviews)
7.1
techwelfare

PHP EXPERTS! We are working on php since last 11 years. We could do it. Could we discuss in details over chat now? Best Regards Techwelfare

$250 USD in 15 days
(204 Reviews)
7.5
devbaloni1983

***** Hello***** I have more then 15 year’ experienced in development and expert. As i am expert, I can build it according to your requirements. Because I have a lot of the experiences about these fields, I can bui More

$100 USD in 7 days
(13 Reviews)
4.5
poonamcubix

Hi, I'm happy to discuss this project so we can clear up all the flow for you to get started as soon as possible. That's great to hear! Because I have a solid background in PHP. As a result, I would love to collaborate More

$140 USD in 7 days
(2 Reviews)
4.0
ajeshjanardanan

Hi Phan Nguyen T., How are you doing? As a professional developer with expertise in Socket IO, PHP and Discord API, I eagerly anticipate the opportunity to complete this project for you. Please drop me a message to dis More

$30 USD in 2 days
(1 Review)
2.0
Fahadghouri7

As an accomplished PHP developer, I'm confident I can create a solution to help you retrieve data from "Ephemeral Messages" in Discord. I am already aware that these messages are temporary and can only be seen by you a More

$140 USD in 7 days
(2 Reviews)
2.2
jperkins01

Hi, I am very much interested in collaborating with you as a freelance professional. With a strong background in PHP, I am equipped to contribute effectively to your projects and deliver outstanding results. Through More

$140 USD in 7 days
(0 Reviews)
0.0
sevenppromotions

Yes I have read your project and understood requirements but have some doubts. please message me so we can discuss in detail. i am ready to start work

$140 USD in 7 days
(0 Reviews)
0.0
abhiamga

Hello I hope you are doing well! This is Abhishek. This is Abhishek specialized in Software development, Technical Analysis, and IT Client Relationship Manager I am a project leader who does various projects domestic More

$99 USD in 2 days
(0 Reviews)
0.0
gaurav479

I am a seasoned freelancer based in Kolkata, bringing over 7 years of diverse experience in various technologies and successful completion of international projects. Your project, involving Discord API and Ephemeral Me More

$30 USD in 7 days
(0 Reviews)
0.0
Jaswinderkdevbi1

I have more than 15 years of experience in the development As I am an expert, I can build it according to your requirements. Because I have a lot of experience in these fields, I can build your project as soon as poss More

$140 USD in 7 days
(1 Review)
0.2
parmod2711

Hello, Thanks for reviewing my application. I analyze job requirements for PHP developers, So I am well familiar with the requirements and will surely help you with this project I'm able to start right now. I am well More

$150 USD in 3 days
(0 Reviews)
0.0
Noor1421

With years of experience in various technical disciplines including PHP and in-depth understanding of software systems and api integrations, I am confident in my ability to solve your problem. After reviewing your Java More

$140 USD in 7 days
(0 Reviews)
0.0
serhii0

Hello! I would like to have a conversation with you regarding the senior developer position. Absolutely, I am sure that I would be a right candidate for this job opportunity. I am interested in joining a diverse tea More

$140 USD in 7 days
(0 Reviews)
0.0
sivasankarsms

I am PHP Backend developer I could able to solve this I have already solved this type of errors and handled it

$50 USD in 2 days
(0 Reviews)
0.0