Showing 12 of 12 total issues
ArtibotConfigBuilder
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export class ArtibotConfigBuilder implements Partial<ArtibotConfig> {
/** Discord ID of the owner of the bot */
ownerId?: Snowflake;
/** ID of the test server */
testGuildId?: Snowflake;
Avoid deeply nested control flow statements. Open
Open
if (artibot.config.debug) log("TriggerHandler", (e as Error).message, "debug", true);
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
if (!message.content.startsWith(matchedPrefix) || message.author.bot) return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
if (!command) return;
No licenses found for path
. Either the library reports the licenses in an unsupported format, or the library is unlicensed. Open
Open
"path": "^0.12.7"
- Exclude checks