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:
zeon-neon[bot] 2025-04-14 00:22:56 +00:00 committed by GitHub
parent 71ce034f9f
commit 37fdf98a85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,