Giter VIP home page Giter VIP logo

Comments (8)

fieu avatar fieu commented on May 22, 2024

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.

imwireless avatar imwireless commented on May 22, 2024

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#

image
image

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.

fieu avatar fieu commented on May 22, 2024

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.

imwireless avatar imwireless commented on May 22, 2024

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.

Any suggestions? I mean in my example it's a simple url.

from discord.sh.

fieu avatar fieu commented on May 22, 2024

What are the contents of $WEBHOOK_URL ?

from discord.sh.

davidjmorin avatar davidjmorin commented on May 22, 2024

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.

fieu avatar fieu commented on May 22, 2024

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.

fieu avatar fieu commented on May 22, 2024

Closing this issue as it seems to have been abandoned.

from discord.sh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.