Skip to content

Refactor: Remove empty bot constructors that only call super() #1008

@PeterDaveHello

Description

@PeterDaveHello

Suggestion: Remove the empty constructor since it only calls the superclass constructor and adds unnecessary boilerplate. [general, importance: 5]

-  constructor() {
-    super();
-  }
+  // constructor omitted since default inherited constructor is sufficient

Originally posted by @PeterBot in #1005 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions