preparing for m2d

This commit is contained in:
Cadence Ember 2023-07-03 01:06:05 +12:00
parent d592a3c82e
commit 6e55e6d1b3
6 changed files with 80 additions and 1 deletions

View file

@ -10,7 +10,7 @@ const registerWebhook = sync.require("./register-webhook")
/**
* @param {string} channelID
* @param {DiscordTypes.RESTPostAPIWebhookWithTokenJSONBody & {name: string, file: Buffer}[]} data
* @param {DiscordTypes.RESTPostAPIWebhookWithTokenJSONBody & {files?: {name: string, file: Buffer}[]}[]} data
*/
// param {DiscordTypes.RESTPostAPIWebhookWithTokenQuery & {wait: true, disableEveryone?: boolean}} options
async function sendMessage(channelID, data) {