mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 19:45:11 +00:00
enhancement(lint): Fix lint errors for src/commands/zchannel.ts
Co-authored-by: NeonGamerBot-QK <neon@saahild.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
71ce034f9f
commit
37fdf98a85
1 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ export default class ChannelPing implements Command {
|
|||
user?.user?.profile?.display_name || user?.user?.name || "<unknown>";
|
||||
const avatar =
|
||||
user?.user?.profile?.image_original || user?.user?.profile?.image_512;
|
||||
|
||||
|
||||
const payload = {
|
||||
text: command.text,
|
||||
username: displayName,
|
||||
|
|
@ -34,7 +34,7 @@ export default class ChannelPing implements Command {
|
|||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
const response = await app.client.chat.postMessage({
|
||||
channel: command.channel_id,
|
||||
...payload,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue