Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
KoTenshi committed Oct 4, 2023
1 parent b77e7c7 commit a98da2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/test/test-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export const sendQuestion = async (interaction: any) => {
ViewChannel: false,
});

// await textChannel.send(`Hallo ${interactionGuildMember} 👋, hallo ${bestMatch.GuildMember} 👋, basierend auf unserem Algorithmus wurdet ihr als Gesprächspartner ausgewählt. Bitte vergesst nicht respektvoll zu bleiben. Viel Spaß bei eurem Match!`);
await textChannel.send(`Hallo ${interactionGuildMember} 👋, hallo ${bestMatch.GuildMember} 👋, basierend auf unserem Algorithmus wurdet ihr als Gesprächspartner ausgewählt. Bitte vergesst nicht respektvoll zu bleiben. Viel Spaß bei eurem Match!`);
await textChannel.send(`Bei beispielsweise diesen drei Fragen seid ihr nicht einer Meinung:`);
conversationStarter(textChannel, interaction, bestMatch.userVector, userResponses);

Expand Down Expand Up @@ -327,7 +327,7 @@ async function findMatchingUser(userId: string, userResponses: number[], guild:
}

function verifyUser(interaction: any, guild: Guild) {
const role: Role | undefined = guild.roles.cache.get('1143590879274213486'); // Verified role: 1143590879274213486
const role: Role | undefined = guild.roles.cache.get('1153647196449820755'); // Verified role: 1143590879274213486
if (!role) throw new Error('Role not found');

const interactionGuildMember = guild.members.cache.get(interaction.user.id);
Expand Down

0 comments on commit a98da2e

Please sign in to comment.