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 None
|
||||||
return message
|
return message
|
||||||
|
|
||||||
def _message_loudness(
|
def _message_loudness(self, msg_type: RPCMessageType, exit_reason: str) -> str:
|
||||||
self, msg_type: RPCMessageType, exit_reason: str
|
"""Determine the loudness of the message - on, off or silent"""
|
||||||
) -> Literal["off", "silent", "on"]:
|
|
||||||
default_noti = "on"
|
default_noti = "on"
|
||||||
|
|
||||||
msg_type = msg_type
|
msg_type = msg_type
|
||||||
|
|
Loading…
Reference in New Issue
Block a user