Skip to content

Code maintenance megathread #12

@LavenderTheGreat

Description

@LavenderTheGreat

We should get round to cleaning up (or grouping) various bits of the code, as of current it's 121 lines with almost zero comments, there is also a lot of functions that could be using preset arrays and designed more modularly.

Generally I think our course of action should be:

  • Comment code

  • Break up pieces of code that need to be split up into their own categories

  • Work on making the reaction stuff much more modular (Proposal: Probably an array with objects within, which list words/phrases to check for, and the reactions to put down when they are found)

  • Organise all this into a fancy settings object which also includes the roles to detect.

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