Connect to a diep.io server very easily.
npm install diepsocketThe following example will connect a bot to the diep.io partylink.
constDiepSocket=require('diepsocket');constbot=newDiepSocket('diep.io/#26331613006B57F647');bot.on('accept',()=>console.log('Succesfully connected!'))bot.on('error',(err)=>console.log(err));The documentation is still in progress https://github.com/Cazka/diepsocket/blob/master/docs/diepsocket.md
If you want to learn the server protocol I suggest visiting these sites:
https://github.com/cx88/diepssect
https://github.com/HueHanaejistla/diep.io-protocol-wiki
https://packet-prettifier.surge.sh/