Team Roles Updates

This commit is contained in:
2025-11-23 13:35:43 -05:00
parent c3e52d6a03
commit 758bef92c7
8 changed files with 131 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ export default class JoinTeamCommand extends BotCommand {
return interaction.editReply({ content: `❌ Team **${teamName}** not found.` });
}
const result = await PointsManager.joinTeam(interaction.user.id, interaction.user.username, team._id.toString());
const result = await PointsManager.joinTeam(interaction.user.id, interaction.user.username, team._id.toString(), false, interaction.guild || undefined);
if (result.success) {
const embed = new EmbedBuilder()