mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
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:
parent
c6b83052a0
commit
259a4dc4ad
1 changed files with 13 additions and 12 deletions
|
|
@ -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-`);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue