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/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
849623e3d9
commit
89c60e5f40
1 changed files with 6 additions and 7 deletions
|
|
@ -131,14 +131,13 @@ export default class Message implements Command {
|
|||
});
|
||||
} else if (cmd == "howmanymessages") {
|
||||
const _count = await app.db.get("messages_sent_yesterday");
|
||||
await say(await getMessageCount(app.db))
|
||||
await app.db.set("messages_sent_yesterday", _count)
|
||||
} else if(cmd == "flightly") {
|
||||
const flight = args[0]
|
||||
await say(await getMessageCount(app.db));
|
||||
await app.db.set("messages_sent_yesterday", _count);
|
||||
} else if (cmd == "flightly") {
|
||||
const flight = args[0];
|
||||
// const flightData = await getFlightData(flight)
|
||||
await say(await getTextVersionOfData(flight))
|
||||
}
|
||||
else if (cmd == "crackthemail") {
|
||||
await say(await getTextVersionOfData(flight));
|
||||
} else if (cmd == "crackthemail") {
|
||||
const userID = args[1] || event.user;
|
||||
const mail = args[0];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue