chore: Add loudness docstring

This commit is contained in:
Matthias 2024-11-06 20:11:03 +01:00
parent e7cf1e34cf
commit d4cd5ba231

View File

@ -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