-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Development #226
Conversation
}, | ||
})) + 1, | ||
}, | ||
messages: { |
There was a problem hiding this comment.
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: { |
There was a problem hiding this comment.
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.
src/commands/slash/Main/rank.ts
Outdated
}, | ||
], | ||
}; | ||
async execute(interaction: ChatInputCommandInteraction) { |
There was a problem hiding this comment.
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: { |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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.
🎉 This PR is included in version 4.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.