Socket
Socket
Sign inDemoInstall

github.com/disaccord/beelzebub

Package Overview
Dependencies
4
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/disaccord/beelzebub

Package beelzebub implements a REST API client for Discord.


Version published

Readme

Source

beelzebub

A client for Discord's HTTP REST API.

Structure

Beelzebub draws inspiration from skwair/harmony in terms of design.

Discord resources that are instanced and scoped to an ID, or more, live in their own packages, which can be found in the flies directory. Each resource can be created with its respective method (e.g., Guild(), User(), etc) found on the main Devil type.

Some resources do not have a respective subpackage. One such instance of this is Emoji, as they are scoped to a Guild. So to perform operations on an Emoji, one would first need to create a Guild resource (henceforth "Fly" (because Beelzebub, get it?)) with its respective factory, and then perform whatever operations needed.

Tests

You may have noticed there are no tests of any kind in this package. Perhaps controversially, due to the nature of what Beelzebub does, I've opted to omit tests. The consequences of this decision are noted, but I'm going to roll with the punches. If you have the willpower, time, and/or patience to write unit tests, by all means, go ahead and PR it.

License

MIT

FAQs

Last updated on 08 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc