Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #226

Merged
merged 5 commits into from
Jan 7, 2025
Merged

Development #226

merged 5 commits into from
Jan 7, 2025

Conversation

dev-737
Copy link
Member

@dev-737 dev-737 commented Jan 6, 2025

No description provided.

},
})) + 1,
},
messages: {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

},
})) + 1,
},
level: {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

},
],
};
async execute(interaction: ChatInputCommandInteraction) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function execute has 65 lines of code (exceeds 25 allowed). Consider refactoring.

public async getStats(userId: string) {
const user = await this.getOrCreateUser(userId);
const stats = {
xp: {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

},
],
};
async execute(interaction: ChatInputCommandInteraction) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function execute has 27 lines of code (exceeds 25 allowed). Consider refactoring.

@dev-737 dev-737 merged commit 0a8a8a8 into interchatapp:main Jan 7, 2025
4 of 5 checks passed
@dev-737 dev-737 deleted the dev branch January 7, 2025 03:59
Copy link

github-actions bot commented Jan 7, 2025

🎉 This PR is included in version 4.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant