You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: