so... 1.3.92 ?

This commit is contained in:
March 7th
2022-04-27 20:58:06 +07:00
parent e4c0c84984
commit ce37b72dc3
4 changed files with 48 additions and 2 deletions

View File

@@ -199,6 +199,22 @@ class PartialGroupDMChannel extends Channel {
get lastPinAt() {}
send() {}
sendTyping() {}
// Testing feature: Call
// URL: https://discord.com/api/v9/channels/DMchannelId/call/ring
/**
* Call this DMChannel. [TEST only]
* @returns {Promise<void>}
*/
call() {
console.log('TEST only, and not working !');
return this.client.api.channels(this.id).call.ring.post({
usingApplicationJson: true,
data: {
recipients: null,
},
});
}
}
TextBasedChannel.applyToClass(PartialGroupDMChannel, false);