forked from cadence/out-of-your-element
bridge both ways and prevent reflections
This commit is contained in:
parent
3578ca28b5
commit
39cdba9f90
15 changed files with 67 additions and 51 deletions
|
@ -49,7 +49,7 @@ async function withWebhook(channelID, callback) {
|
|||
|
||||
/**
|
||||
* @param {string} channelID
|
||||
* @param {DiscordTypes.RESTPostAPIWebhookWithTokenJSONBody & {files?: {name: string, file: Buffer}[]}[]} data
|
||||
* @param {DiscordTypes.RESTPostAPIWebhookWithTokenJSONBody & {files?: {name: string, file: Buffer}[]}} data
|
||||
*/
|
||||
async function sendMessageWithWebhook(channelID, data) {
|
||||
const result = await withWebhook(channelID, async webhook => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue