zaida04 / g.js-self Goto Github PK
View Code? Open in Web Editor NEW[archive] Library for creating selfbots on Guilded.
License: MIT License
[archive] Library for creating selfbots on Guilded.
License: MIT License
when this finished will i be able to easily convert my discord.js bot to work with this? also i know this is very early to be asking something like this, but will there be something similar to discord.js-commando? (possibly named guilded.js-commando)
Error: Unexpected server response: 400
at ClientRequest. (/home/ken/workspace/guildedtest/node_modules/ws/lib/websocket.js:604:7)
at ClientRequest.emit (node:events:378:20)
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:636:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:129:17)
at TLSSocket.socketOnData (node:_http_client:502:22)
at TLSSocket.emit (node:events:378:20)
at addChunk (node:internal/streams/readable:313:12)
at readableAddChunk (node:internal/streams/readable:288:9)
at TLSSocket.Readable.push (node:internal/streams/readable:227:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Websocket tab suggests that guildedClientId parameter could be important. Also noted that cookies are not sent with the upgrade request.
Required Structures (all must accept client):
Managers:
Typings:
how send message to specific channel?
As I'm sure you're aware, this repository and it's packages are currently for the Guilded *user API. I have been given Early Access to the bot API in order to adapt my library to the new bot API. Seeing that selfbots aren't necessarily outlawed on Guilded, support for the user API verison of this library will continue.
With this new API access, I will now be starting work on the
next
branch of this repo, which will include the following breaking changes:
- current
@guildedjs/guilded.js
package will be renamed to@guildedjs/guilded.js-selfbot
.- new package will be published under
@guildedjs/guilded.js
that covers the bot API. Will include the same caching, ws, events, and other mechanics that the old package had.@guildedjs/rest
will be adapted to work for both the bot API and the user API (atm it's literally just a fancy node-fetch wrapper with retry logic, which I'll have to rework for the bot API to take into account ratelimit headers).- user API typings in
@guildedjs/guilded-api-typings
will be moved to auser
directory in that package, and the bot API typings will be in abot
dir with the API versions being separated by dirs with the appropriate version number (e.x.v1/
,v2/
).This process will take weeks, maybe even months. There is no planned package release date. I have full permission from Guilded employees to publish my work on the bot API on GitHub.
REST:
WS:
Common:
Ever since the Guilded API update that broke the old login system of sending the HMAC_SIGNED_SESSION
cookie through the WS, the WS gateway has not been sending any data under opcode 42
. At the moment, the lib is only receiving 0 (connection established)
, 3 (heartbeat)
, 40 (ready event)
, & 41 (??)
.
As shown above, things like the ping and connection established are shown. However, things like messages, reactions, pretty much everything you'd get through WS, is just not being sent. I've attempted to do some debugging, and swapping of WS libraries but this is persistent across libs (I tried socket.io as well). This could be a network issue on my end, but I've had one other person report this.
Any help or knowledge on this issue would be much appreciated.
The get() url for fetchMessage() has a &
instead of a ?
for the query causing a malformed request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.