Comments (6)
I will take care of it on August due to work load but it's on my todo list 😉
from pingme.
Hello @matbgn ,
The whole messages is treated as a string, i am afraid it won't be possible to achieve this when sending message.
You can use the --title
flag when sending a message it will add '\n' between the tittle and message.
pingme teams -w TOKEN --title "Hi, I got a" --msg "carriage return. Nice!"
from pingme.
Again just thank you!
What would be the adaptations necessary to make it work? Could you point me any direction, so I could maybe invest some time to make a PR?
from pingme.
One way would be to analyze the content of message before sending it , check for specified carriage return using regex maybe.
Then recreate the string again, its a messy solution and too many things to consider when implementing it not sure if its worth spending time on it.
You can have a look here how its being added for title and message.
You are welcome, and i hope you find it useful.
from pingme.
Oh nice it sounds that it's in my possibilities 😄
But still a question, you pointed me out on service/mattermost/mattermost.go but my issue is on Microsoft Teams 🤔 and I see two other services implemented with it (Twilio and Mastodon). What should I take care of?
from pingme.
Mattermost was just an example , and because it not using notify you can see how message is constructed.
But teams and quite a few other services use notify
, so this implementation has to be on notify side.
from pingme.
Related Issues (20)
- Support Feishu HOT 1
- Credits section in readme HOT 2
- docs: Minor spelling and grammatical fixes in "Services & Usage" page
- feat(service): add support for textmagic service
- Not working on Raspberry Pi HOT 4
- email attachment HOT 1
- strconv.Atoi: parsing "-1234567890123": value out of range HOT 2
- feat(service): add support for gotify server
- Arch Linux AUR package HOT 4
- Can't send email without password HOT 6
- Homebrew tap issue HOT 2
- feat(service): add support for matrix server HOT 5
- feat(service): add support for whatsapp HOT 7
- Debian package warning: missing 'maintainer' field HOT 5
- Make Dockerfile to build from source HOT 6
- trouble to create slack token HOT 2
- Ability to send messages to users (not channels) in rocket chat HOT 1
- pushover: possibility to use priority argument HOT 4
- gzip error when installing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pingme.