Disable log spam from analyze_df in webhook/discord

This commit is contained in:
Matthias
2022-10-01 09:35:21 +02:00
parent 201bbbcee6
commit 8f8b5cc28e
2 changed files with 9 additions and 1 deletions

View File

@@ -30,9 +30,9 @@ class Discord(Webhook):
pass
def send_msg(self, msg) -> None:
logger.info(f"Sending discord message: {msg}")
if msg['type'].value in self.config['discord']:
logger.info(f"Sending discord message: {msg}")
msg['strategy'] = self.strategy
msg['timeframe'] = self.timeframe