Discord parser behaves weirdly on strings that begin with "Input #"
See original GitHub issueecho 'Input #0,string string string \nsometext \nsomemoretext \nmoretext \nwaymoretext\nInput #1 \nanothertext' | apprise -t 'T E S T !' "discord://<name>@<hookID>/<token>/?avatar=off&thumbnail=off"
results in the following… it appears like it parses from one Input
to another. E.g. “somemoretext” and “moretext” and “wamoretext” are all being discarded.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How do I grab user input with my Discord bot in Python?
this works because it sends the string back starting with the 4th index place (indexes start at 0 so really [3] is starting...
Read more >Frequently asked Questions | discord.js Guide
Discord validates and resolves user ids for users not on the server in user slash command options. ... Why do some emojis behave...
Read more >Discord Developer Portal — Documentation — Channel
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
Read more >6.1 Parser overview
6.1 Parser overview. Parsing single chars; Parsing strings directly; Parsing strings with the help of other parsers; Parsing numbers; Parsing whitespace ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally found some time to give this a go … and it’s beautiful! Works as intended and can be merged for all I care 😄.
closing this now. thanks for the quick solution once again.
I could have sworn i fixed this; the output you’re seeing will definitely be present in the master branch, but it shouldn’t be in this one. I can clearly see the markdown being set in your screenshot; but now that should only trigger if one adds ?format=markdown in the URL which i presume you’re not doing.
I’ll re-investigate this later and keep you posted.
This is great feedback. I personally always enjoyed silence from shell commands unless I ask for noise. I rarely throw errors in apprise because if a notification fails, i just move onto the next (but i’m sure to return a non-zero value in the response). But i do respect that when something doesn’t work, i need to go back and add -vvv to the output which probably isn’t the most intuitive approach.