Code Monkey home page Code Monkey logo

discordmessenger-rust's Introduction

Hi there ๐Ÿ‘‹

Who i am ?

Hello, my name is Felipe, I am a High School student from Argentina. I like osu, unturned, counter strike and anime. I started programming unturned plugin but now i would like to become a backend developer

Which lenguages do i know?

C# and Js

Contact

You can contact me throw discord or e-mail.

Discord: feli001, ID: 400836575019401237

E-Mail: [email protected]

Anurag's GitHub statsTop Langs

discordmessenger-rust's People

Contributors

meitarr avatar negrifelipe avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

meitarr gr4p3lcl

discordmessenger-rust's Issues

can't send content

DiscordMessage::new()
        .set_content("string".to_string())
        .set_username("asd".to_string())//it's the same without this line as well
        .send(WEBHOOK_TARGET.to_string());
        // webhook target is correct
stack backtrace:
   0: std::panicking::begin_panic
             at /Users/marple/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:519:12
   1: reqwest::client::ClientHandle::execute_request
             at /Users/marple/.cargo/registry/src/github.com-1ecc6299db9ec823/reqwest-0.8.8/src/client.rs:487:17
   2: reqwest::client::Client::execute
             at /Users/marple/.cargo/registry/src/github.com-1ecc6299db9ec823/reqwest-0.8.8/src/client.rs:367:9
   3: reqwest::request::RequestBuilder::send
             at /Users/marple/.cargo/registry/src/github.com-1ecc6299db9ec823/reqwest-0.8.8/src/request.rs:393:9
   4: DiscordMessenger::DiscordMessage::send
             at /Users/marple/.cargo/registry/src/github.com-1ecc6299db9ec823/DiscordMessenger-1.0.0/src/lib.rs:51:9
   5: gt_rust::send_to_discord
             at ./src/main.rs:98:5
   6: gt_rust::main
             at ./src/main.rs:32:5

Works perfectly!

All the other ones I tried didn't work, this one works perfectly, Thank you very much for making this!

Ability to include variables in the content

Currently, I have .set_content("{}", test.to_string()) but it raises an error saying expected 1 arguement, supplied 2, is there any way to fix this without a new update? Thanks in advance.

Add field

Long time no see! How would I add a field with a title and description in an embed? Thanks in advance :D

error: failed to select a version for the requirement `security-framework = "^0.1.13"`

Just switched to windows 10, when I even just put the DiscordMessenger = "1.0.0" it shows this error:

    Updating crates.io index
error: failed to select a version for the requirement `security-framework = "^0.1.13"`
candidate versions found which didn't match: 2.6.1, 2.6.0, 2.5.0, ...
location searched: crates.io index
required by package `native-tls v0.1.3`
    ... which satisfies dependency `native-tls = "^0.1.3"` of package `reqwest v0.8.3`
    ... which satisfies dependency `reqwest = "^0.8.3"` of package `DiscordMessenger v1.0.0`
    ... which satisfies dependency `DiscordMessenger = "^1.0.0"` of package `hello v0.1.0 (C:\Users\Stuntlover\Documents\Visual Studio Code Rust Projects\hello)`

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.