Team Roles Updates
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user