Skip to content

Commit

Permalink
lol
Browse files Browse the repository at this point in the history
  • Loading branch information
q-Sci committed Oct 14, 2023
1 parent d97e961 commit 7e1e35c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions commands/match/match-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@ export const sendQuestion = async (interaction: any) => {

const userContext = await db.db('contrabot').collection("users").findOne({ userId: interaction.user.id });

let currentQuestionIndex = userContext?.currentQuestionIndex || 0;
let userResponses = userContext?.userVector || [];

// TODO: user responses
// TODO: check if user has completed the test

if (currentQuestionIndex === 0) {
userResponses = [];
}

console.log(userContext);

const guildId = process.env.GUILD_ID;
Expand Down

0 comments on commit 7e1e35c

Please sign in to comment.