mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-20 00:25:23 +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
6696e1433d
commit
bef7444ccd
1 changed files with 3 additions and 4 deletions
|
|
@ -122,14 +122,13 @@ export default class Message implements Command {
|
|||
.map((e) => e.messages.length)
|
||||
.reduce((a, b) => a + b, 0);
|
||||
say(`\`\`\`\nUsers: ${users}\nMessages: ${mail}\`\`\``);
|
||||
} else if(cmd == "potatogame") {
|
||||
} else if (cmd == "potatogame") {
|
||||
potatoGame(app);
|
||||
app.client.chat.postMessage({
|
||||
text: `Sending the game!`,
|
||||
channel: event.channel,
|
||||
})
|
||||
}
|
||||
else if (cmd == "crackthemail") {
|
||||
});
|
||||
} else if (cmd == "crackthemail") {
|
||||
const userID = args[1] || event.user;
|
||||
const mail = args[0];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue