http to discord js type

lets say i have http interaction and i want to turn it into a discord js object. how could i create a new instance using the payload data from http api
Was this page helpful?