I'm not sure if you're still maintaining this project, but I've run into an issue with the send-service.py script.
I'm really happy I've found your code for Discord notifications, but the send-service.py doesn't seem to work for me when the service name contains a blank space, as already mentioned in the title. Looking at the Nagios logging, the send-service.py runs fine and doesn't return any errors - the logging simply tells me that a service notification has been send out. However, no message is seen in Discord.
When do I see a message in Discord?
I can see a message in Discord coming from Nagios when the service doesn't contain a blank space in it's name and the name is just a single word - for example "Sonarr"
When do I not see a message in Discord?
I cannot see a message in Discord coming from Nagios when the service does contain a blank space in it's name and the name exists of multiple words - for example "Ansible AWX"
The type of service check doesn't seem to have an impact as this behaviour is seen on services with the same check. Can you confirm that this is related (or not) to the send-service.py script?