Skip to content

Commit

Permalink
fix: added semi-colons and removed slash command
Browse files Browse the repository at this point in the history
  • Loading branch information
zjorge96 committed Nov 1, 2023
1 parent f0cedd8 commit 12a204c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 62 deletions.
7 changes: 0 additions & 7 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,7 @@ webserver.get("/health", async (req, res) => {
winston.debug("Health check passed");
});

// var normalizedPath = require("path").join(__dirname, "features");
// require("fs")
// .readdirSync(normalizedPath)
// .forEach(function (file) {
// require("./features/" + file)(app);
// });
require("./features")(app);
require("./slash")(app);

(async () => {
await app.start(3000);
Expand Down
3 changes: 1 addition & 2 deletions service/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ Upon receiving the golden fistbump, the user will receive 20 fistbumps and will
`;

async function respondToHelp({ message, client }) {
console.log(client)
winston.info(`@gratibot help Called`, {
func: "feature.help.respondToHelp",
callingUser: message.user,
Expand Down Expand Up @@ -122,7 +121,7 @@ const thunderfuryResponse = [

async function respondToEasterEgg({ message, say }) {
if (message.bot_id) {
return
return;
}
winston.info(`Heard reference to thunderfury`, {
func: "feature.help.respondToEasterEgg",
Expand Down
53 changes: 0 additions & 53 deletions slash.js

This file was deleted.

0 comments on commit 12a204c

Please sign in to comment.