Refactor logging messages and enhance configuration options

This commit is contained in:
Klaro
2025-02-12 17:06:02 +01:00
parent 75b798642d
commit d0cac2df73
6 changed files with 22 additions and 22 deletions

View File

@@ -775,7 +775,7 @@ class Twitch(object):
)
def claim_bonus(self, streamer, claim_id):
if Settings.logger.less is False:
if Settings.logger.less is False and Settings.logger.show_claimed_bonus_msg:
logger.info(
f"{streamer} {Color256Palette.green if Settings.logger.smart else ''}Claimed Bonus{Fore.RESET}!",
extra={"emoji": ":gift:", "event": Events.BONUS_CLAIM},