Skip to content

The config field is assigned in both New (line 16) and Register (line 20), but is never actually used in the module. Consider removing this unused field to simplify the code. #15

@Garibaldi2000

Description

@Garibaldi2000

The config field is assigned in both New (line 16) and Register (line 20), but is never actually used in the module. Consider removing this unused field to simplify the code.

}

// New creates a new status module
func New(deps *types.Dependencies) *StatusModule { return &StatusModule{} }

// Register registers /status.
func (m *StatusModule) Register(cmds map[string]*types.Command, deps *types.Dependencies) {

Originally posted by @Copilot in BagToad/BestPal#65 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions