| D++ (DPP) C++ Discord API Bot Library

Search
Loading...
Searching...
No Matches
Installing with Portage (Gentoo)

D++ is available on GURU. To install D++, you must first enable the GURU repository. To do so, execute the following commands (as root):

emerge --ask app-eselect/eselect-repository
eselect repository enable guru
emaint sync --repo guru

This enables the GURU repository, which consists of user-contributed packages, such as D++!

If you wish, you may enable coroutine and voice support through USE flags. To do so, using your text editor of choice, add the following line to /etc/portage/package.use/dpp (as root):

dev-cpp/dpp voice coro

> You may choose between voice, coro, or both, just pick and choose!

You will now be able to use D++ by including its library on the command line:

g++ mybot.cpp -o mybot -ldpp

Note
  Compiling your bot with a raw g++ command is not advised in any real project, and the example above should be used only as a test. From here, you should learn to create a bot in D++ by moving on to Building a Discord Bot Using CMake (UNIX) or if you have not yet created a token for your bot, Creating a Bot Token - If you are having trouble setting up CMake, you can try our template cmake bot project.

D++ Library version 9.0.13 D++ Library version 9.0.12 D++ Library version 9.0.11 D++ Library version 9.0.10 D++ Library version 9.0.9 D++ Library version 9.0.8 D++ Library version 9.0.7 D++ Library version 9.0.6 D++ Library version 9.0.5 D++ Library version 9.0.4 D++ Library version 9.0.3 D++ Library version 9.0.2 D++ Library version 9.0.1 D++ Library version 9.0.0 D++ Library version 1.0.2 D++ Library version 1.0.1 D++ Library version 1.0.0