Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const client = new Client({
const wouldyouComponents = async () => {
await require('./util/wouldyouClient')(client);
await require('./util/dbHandler');
await require('./util/voteLogs');
};

wouldyouComponents();
1 change: 0 additions & 1 deletion src/util/fetchChannel.js

This file was deleted.

3 changes: 2 additions & 1 deletion src/util/voteLogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ require("dotenv").config()

const app = express()


const webhook = new Topgg.Webhook(process.env.WEBHOOKTOKEN)

app.post("/dblwebhook", webhook.listener(async vote => {
Expand Down Expand Up @@ -38,4 +39,4 @@ app.post("/dblwebhook", webhook.listener(async vote => {
}).catch((err) => console.log(err));
}))

app.listen(8060)
app.listen(8090)