yourWaifu / sleepy-discord

C++ library for the Discord chat client. Please use Rust for new bots
https://yourWaifu.github.io/sleepy-discord/
MIT License
708 stars 93 forks source link

Is it possible to use only curl to perfome requests and etc without websocket and etc? #264

Closed wecand0 closed 2 years ago

yourWaifu commented 2 years ago

Yes but it's not recommend because there's no intented way to get messages or other interactions as they come in because there's no server that you can run using this library. This library is client only.

yourWaifu commented 2 years ago

Just don't call the client.run() function

wecand0 commented 2 years ago

Thanks for rapid reply, your are the best! If you have time, can you write a very small example how to use your great library only with curl, for example send message)