enhancement(lint): Fix lint errors for src/commands/colbalt_api.ts

Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
zeon-neon[bot] 2024-12-02 03:21:49 +00:00 committed by GitHub
parent c6b83052a0
commit 259a4dc4ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,19 +76,20 @@ export default class Message implements Command {
},
body: formData,
// send the file as a multipart/form-data
}).then((r) => r.text()).then(url => {
console.log(url);
app.client.chat.postMessage({
channel: event.channel,
// text: data.url,
thread_ts: event.ts,
reply_broadcast: true,
unfurl_media: true,
unfurl_links: true,
text: `For does who know :skull::skull::skull: :\n> ${url} `,
})
});
;
.then((r) => r.text())
.then((url) => {
console.log(url);
app.client.chat.postMessage({
channel: event.channel,
// text: data.url,
thread_ts: event.ts,
reply_broadcast: true,
unfurl_media: true,
unfurl_links: true,
text: `For does who know :skull::skull::skull: :\n> ${url} `,
});
});
});
}
console.debug(`#message-`);