mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 23:22:56 +00:00
enhancement(lint): Fix lint errors for src/commands/on_message.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
c53d8bd0fe
commit
31a0bb33f8
1 changed files with 14 additions and 14 deletions
|
|
@ -188,20 +188,20 @@ export default class Message implements Command {
|
|||
console.log("Connected to WS server");
|
||||
});
|
||||
} else if (cmd == "robotics") {
|
||||
const out = await sendSchedule(args.join(" "), app, `C07R8DYAZMM`)
|
||||
if(out) {
|
||||
await app.client.chat.postEphemeral({
|
||||
channel: event.channel,
|
||||
text: `Robotics schedule sent!`,
|
||||
user: event.user,
|
||||
});
|
||||
} else {
|
||||
await app.client.chat.postEphemeral({
|
||||
channel: event.channel,
|
||||
text: `Robotics schedule not sent!`,
|
||||
user: event.user,
|
||||
});
|
||||
}
|
||||
const out = await sendSchedule(args.join(" "), app, `C07R8DYAZMM`);
|
||||
if (out) {
|
||||
await app.client.chat.postEphemeral({
|
||||
channel: event.channel,
|
||||
text: `Robotics schedule sent!`,
|
||||
user: event.user,
|
||||
});
|
||||
} else {
|
||||
await app.client.chat.postEphemeral({
|
||||
channel: event.channel,
|
||||
text: `Robotics schedule not sent!`,
|
||||
user: event.user,
|
||||
});
|
||||
}
|
||||
}
|
||||
console.debug(`#message-`);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue