Giter VIP home page Giter VIP logo

Comments (11)

Helloyunho avatar Helloyunho commented on September 20, 2024

It's made by myself, but is this right?

I think it's okay but you should at least throw an error when the name is not valid.

And how about putting webhooks in ClientOption too?

What do you mean?

from harmony.

AkiaCode avatar AkiaCode commented on September 20, 2024

It's made by myself, but is this right?

I think it's okay but you should at least throw an error when the name is not valid.

okay, But if I throw an error in return, I can't solve it because there's an error.

And how about putting webhooks in ClientOption too?

What do you mean?

client.<Webhook>

from harmony.

AkiaCode avatar AkiaCode commented on September 20, 2024

ex) new Webhook(id, token)

Thanks to @DjDeveloperr

from harmony.

6days9weeks avatar 6days9weeks commented on September 20, 2024

why use client.? webhooks are server related not bot related

from harmony.

AkiaCode avatar AkiaCode commented on September 20, 2024

why use client.? webhooks are server related not bot related

It seemed necessary because there was a client in the first code

from harmony.

6days9weeks avatar 6days9weeks commented on September 20, 2024

why use client.? webhooks are server related not bot related

It seemed necessary because there was a client in the first code

If I'm not wrong the first code meant the client makes a webhook for themselves in the server where it was used.(correct me if am wrong)

from harmony.

AkiaCode avatar AkiaCode commented on September 20, 2024

So, can I just not use the client? @6days9weeks

from harmony.

6days9weeks avatar 6days9weeks commented on September 20, 2024

You can use client I'm not saying you can't but what would be the possible use for it in ClientOption, auto-webhook for the bot?

from harmony.

AkiaCode avatar AkiaCode commented on September 20, 2024

idk

from harmony.

6days9weeks avatar 6days9weeks commented on September 20, 2024

lmao, then if you want to then add it

from harmony.

AkiaCode avatar AkiaCode commented on September 20, 2024

okay

from harmony.

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.