kanadeko/Kuro

View on GitHub
commands/user.js

Summary

Maintainability
A
1 hr
Test Coverage

Function run has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.run = function(msg, args) {
    if (!args[0]) return msg.delete()

    let id = args[0].replace(/<@!|<@/, '').replace('>', '')
    let user = msg.guild.members.get(id)
Severity: Minor
Found in commands/user.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status