Skip to content

Commit

Permalink
fix: linting fixed in app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
densellp committed Oct 24, 2023
1 parent 14d9563 commit 01a28f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ app.command(slashCommand, async ({ command, ack, respond }) => {
switch (userCommand.command) {
case "help":
await respond(helpMarkdown);
break;
default:
await respond(errorMarkdown);
}
Expand All @@ -121,12 +122,12 @@ app.command(slashCommand, async ({ command, ack, respond }) => {
// Variables //
/// ////////////////////////////////////////////////////////////

const errorMarkdown = '
const errorMarkdown = `
:well: Command does not exist.
Here is a list of commands that actually work:
/gratibot help: talks about what Gratibot can do!
';
`;

// Text is rendered into help command
const helpMarkdown = `
Expand Down

0 comments on commit 01a28f6

Please sign in to comment.