Comments (8)
Hello @imwireless, can you please give us the steps do reproduce the error? Saying you have an error alright not that helpful as we the full context of your use case.
from discord.sh.
I put .webhook with my discord webhook in my Media folder. I then added the discord.sh file as is with no edits. I then ran the sample text you have in your README.MD and it returned a curl (3) error.
./discord.sh --webhook-url="$WEBHOOK" --text "Hello, world!"
Classic\ Commercials/ Music/ TVList.txt imwireless/
MovieList.txt Sporting\ Events/ discord.sh* nzbget/
Movies/ TV\ Shows/ ftpUploads/ upload2.sh*
root@Tower:/mnt/user/Media# ./discord.sh --webhook-url="$WEBHOOK" --text "Hello, world!"
fatal: curl failed with code 3
root@Tower:/mnt/user/Media#
curl 7.74.0 (x86_64-pc-linux-gnu) libcurl/7.74.0 OpenSSL/1.1.1i zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2020-12-09
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets zstd
root@Tower:/mnt/user/Media# jq
jq - commandline JSON processor [version 1.6]
from discord.sh.
It seems that the problem is not with discord.sh
but with curl
.
Error code 3 from curl
means CURLE_URL_MALFORMAT
which is to say the URL was not properly formatted.
Check here for more information.
from discord.sh.
It seems that the problem is not with
discord.sh
but withcurl
.Error code 3 from
curl
meansCURLE_URL_MALFORMAT
which is to say the URL was not properly formatted.Check here for more information.
Any suggestions? I mean in my example it's a simple url.
from discord.sh.
What are the contents of $WEBHOOK_URL
?
from discord.sh.
What are the contents of
$WEBHOOK_URL
?
I have the same issue.
Only thing in that file is the discord webhook URL. No spaces or anything. I also tried chmod 777 and setting it as executable. Not sure whats im missing here.
from discord.sh.
Hmm, I am not sure. Can you hand me all the files in question within your testing context? Feel free to redact part of the webhook URL.
from discord.sh.
Closing this issue as it seems to have been abandoned.
from discord.sh.
Related Issues (20)
- --text="xxx" doesn't work with newlines HOT 3
- Data Input factor on shell script HOT 5
- Problems to use discord.sh behind a proxy squid version 3.5
- ability to send mutiple embeds HOT 1
- in case embeds: timestamp not shown HOT 1
- Sending a bash string as description results in invalid JSON error HOT 1
- date: illegal option on FreeBSD HOT 2
- [Meta] Add CNAME record to redirect discord.sh domain name to this Github repo HOT 3
- bash should be added as a dependency, for now HOT 3
- Problems with --color HOT 1
- Adding components option (buttons) HOT 2
- Modify a webhook HOT 6
- Mention role in message HOT 1
- Create thread message HOT 6
- Webhookurl | fatal: curl failed with code 7 HOT 3
- [Suggestion] Minified version HOT 1
- [Improvment] Add fields for embeds HOT 1
- Include version number as comment in header HOT 2
- Add multiple Embed or multiple Images HOT 1
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 discord.sh.