Adding feature

voiceState.getPreview(): Return URL Image Stream .-.
This commit is contained in:
March 7th
2022-04-25 19:28:45 +07:00
parent f3926f2e37
commit 817aa690ff
5 changed files with 32 additions and 2 deletions

View File

@@ -94,6 +94,21 @@ class DMChannel extends Channel {
createMessageComponentCollector() {}
awaitMessageComponent() {}
// Doesn't work on DM channels; bulkDelete() {}
// 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(DMChannel, true, ['bulkDelete']);