Skip to content

Commit

Permalink
initial fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-t authored and GregTCLTK committed Oct 22, 2023
1 parent bce3253 commit 07e00f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.ts
Expand Up @@ -5,7 +5,13 @@ import { sendSurveyQuestions, Feedbackquestions } from './functions/startSurvey'
import { google } from 'googleapis';
import { client, db } from './common';
import { executeMatch } from "./commands/match-command";
import { trackInvites } from "./inviteTracker";

client.on(Events.ClientReady, async (c) => {
console.log(`Ready! Logged in as ${c.user.tag}`);
await db.connect();
await trackInvites();
});
client.login(process.env.TOKEN); // Log in to the bot

client.on(Events.ClientReady, async c => {
Expand Down

0 comments on commit 07e00f3

Please sign in to comment.