Skip to content

Commit

Permalink
little cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thezanke committed Jan 24, 2021
1 parent 07014ca commit a540755
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/httpServer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Application, Context, Router } from "https://deno.land/x/oak@v6.2.0/mod.ts";
import { getScores } from "./scoring.ts";
import { Application, Router } from "https://deno.land/x/oak@v6.2.0/mod.ts";

export const router = new Router();
router.get("/", (ctx) => {
Expand Down
4 changes: 1 addition & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const handleCommandMessages = (message: Message) => {

const [, command, ...args] = message.content.split(" ");

console.log({command, args});
console.log({ command, args });

if (!command) {
message.reply("I'm not sure what that means, m8");
Expand Down Expand Up @@ -164,6 +164,4 @@ startBot({
},
});

console.log('test');

server.listen({ port: config.HTTP_PORT });

0 comments on commit a540755

Please sign in to comment.