mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 20:23:57 +00:00
chore: Add loudness docstring
This commit is contained in:
parent
e7cf1e34cf
commit
d4cd5ba231
|
@ -547,9 +547,8 @@ class Telegram(RPCHandler):
|
|||
return None
|
||||
return message
|
||||
|
||||
def _message_loudness(
|
||||
self, msg_type: RPCMessageType, exit_reason: str
|
||||
) -> Literal["off", "silent", "on"]:
|
||||
def _message_loudness(self, msg_type: RPCMessageType, exit_reason: str) -> str:
|
||||
"""Determine the loudness of the message - on, off or silent"""
|
||||
default_noti = "on"
|
||||
|
||||
msg_type = msg_type
|
||||
|
|
Loading…
Reference in New Issue
Block a user