aXises/fortniteBot

View on GitHub
src/command/modules/user/Profile.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function setCustomAction has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public setCustomAction(): Action {
        return new Action(async (state: OnMessageState): Promise<boolean> => {
            const user = state.getHandle().author;
            try {
                const doc = await DBUserSchema.getUserById(user.id);
Severity: Minor
Found in src/command/modules/user/Profile.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status