Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
q-Sci committed Oct 14, 2023
1 parent a1bcb3c commit 7dd6e80
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions commands/match/match-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ export const sendQuestion = async (interaction: any) => {

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

// Test discussion topics
// TODO: check if user has completed the test

const guildId = process.env.GUILD_ID;
if (!guildId) throw new Error('GUILD_ID not found');

Expand Down Expand Up @@ -77,7 +74,7 @@ export const sendQuestion = async (interaction: any) => {

export const data = new SlashCommandBuilder().setName('match').setDescription('Requests new match without retaking the test.');
export const execute = async (interaction: any) => {

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

let userResponses = userContext?.userVector || [];
Expand Down

0 comments on commit 7dd6e80

Please sign in to comment.