Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
/ DisCPP Public archive

Simplified, but feature rich Discord API wrapper written in modern C++.

License

Notifications You must be signed in to change notification settings

DisCPP/DisCPP

Repository files navigation

DisC++


Simplified, but feature rich Discord API wrapper written in modern C++.

DisC++

DisC++ is a simplified, but feature rich Discord API wrapper written in modern C++. It can run on Linux and Windows. Its also focused on being multi threaded so commands and event listeners are ran on seperate threads, this means you dont have to worry about slowing the bot down with a certain command.

The development branch will have the newest features and might even be faster, or more stable.

State

Library is discontinued. Due to Discord's lack of communication and out-of-touch attitude towards library developers, this library is no longer being maintained. Recommended alternative is DPP.

What makes DisC++ different?

  • Low memory usage.
  • Even though its very memory optimized, it doesn't loose any readability, usability or features.
  • Asynchronous.
  • Built in async command handler.
    • Commands are ran on a separate thread.
    • You can override the built in command handler if you decide to.
  • Built in async event handler and listener.
    • Event listeners are dispatched on separate threads.
    • You can have several event listeners listening for the same event which are all ran on separate threads.
Master Development

Dependencies

Contributing

Please follow Google's styling guide for naming convention.

Information on how to setup a project and how to compile this application will be found in the wiki.

Examples

There may be more inside the Examples folder.

Todo:

  • Finish tons of unimplemented methods in certain classes.
  • Convert the default command handler to use command classes.
  • Convert the event system to use a more object oriented system, similar to the new command handler.
  • Make sure all endpoints are implemented and add them if they aren't.
  • Voice websocket connection.
  • Sending audio through a voice connection.
  • Make the audit log cleaner and easier to use.

Documentation

Currently the only documentation is from Doxygen; its currently completely up to date. You can view it here. If you want to generate documentation you need to install Doxygen and run doxygen in the root DisCPP directory and run the terminal command: doxygen Doxyfile

License

See LICENSE

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages