aiko-chan-ai / discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots
https://discordjs-self-v13.netlify.app
GNU General Public License v3.0
751 stars 160 forks source link

Ringing specific users #895

Closed newborking closed 7 months ago

newborking commented 10 months ago

Which package is the feature request for?

The core library

Feature

Currently there is no way to ring specific people in a groupchat, you can choose wether to ring a user in their dms, or call a groupchat with ringing on but that rings everyone.

Ideal solution or implementation

Just using the API

https://discord.com/api/v9/channels/XXXXXXXX/call/ring It includes a Payload { "recipients": [ "USERID" ] }

Alternative solutions or implementations

No response

Other context

For furthur usage of how its used, just go into a groupchat and ring someone and check Network tab in inspect element

aiko-chan-ai commented 10 months ago

https://discordjs-self-v13.netlify.app/#/docs/docs/main/class/User?scrollTo=ring nvm

aiko-chan-ai commented 10 months ago

I will do it on Sunday

newborking commented 10 months ago

Nice! However forgot to mention when making the issue that theres another for stopping a ring. Absolute same concept but different api endpoint /api/v9/channels/1104124649782136873/call/stop-ringing

As well as it would be useful to add events for ringing and stop ringing

aiko-chan-ai commented 7 months ago

https://discordjs-self-v13.netlify.app/#/docs/docs/main/class/ClientUser?scrollTo=stopRinging