Together-Java / TJ-Bot

TJ-Bot is a Discord Bot used on the Together Java server. It is maintained by the community, anyone can contribute.
https://togetherjava.org
GNU General Public License v3.0
101 stars 87 forks source link

Feature/logging-for-disabled-features #1048

Closed Suleman70 closed 6 months ago

Suleman70 commented 7 months ago

This is continuing #898 - which is the logging for disabled features (I am Tea from the discord server)

I was implementing the change requests at #899 from the assignees code since that PR has been quite inactive, so i've added only small modifcations.

Although, one change requested to use "Stream<? extends F>" at the disableMatching method at FeatureBlacklist class, however this was causing some problems since at the Features class the return type of its method is just "Features" so i am unsure how to go forward with that particular modifcation.

However everything works and I tested it

Credit to @adiChoudhary for doing most of it at #899 , i just finished things off

CLAassistant commented 7 months ago

CLA assistant check
All committers have signed the CLA.

Suleman70 commented 7 months ago

@christolis I have done the changes.