-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I build D++ for static linking? How to stop a dpp::cluster? #34
Comments
Yes but currently only on the dev github branch. After switching to the dev github branch, the build flag |
All seems to be working, thank you for the help. I'm also wondering, is there a way for stopping and disconnecting a |
not really, as discord doesn't have a quit command as such, you just disconnect the websocket and discord times it out later. so, you could call cluster::start with true as a parameter and run your own sleep/loop afterwards, when you want to end the cluster call it's destructor and it will close it's sockets. I haven't tested this ability much though as most discord bots are dedicated processes and not embedded in something else. |
I sleep 10 seconds and then Thanks again for help and for this awesome library; I'm gonna rename the issue so that it will show up when searching for stopping a cluster too. |
The makefiles cmake generates only seem to build a shared object. Is there a way to compile the library into an archive instead?
The text was updated successfully, but these errors were encountered: