Search code examples
c++discordc++98

How to create a Discord bot in C++ 98 with platform toolset version v120?


I'm working on a C++ 98 project with platform toolset version v120 on VS 2013. I'm trying to implement Discord bot API in my project. I've tried several unofficial Discord libraries for C++, like Sleepy-Discord, DPP, and Discord.CPP. But it seems like none of them are compatible with my project's C++/platform toolset version. Unfortunately, I cannot update my project as it's too big. I want to know if there's any solution for this.

What I'm expecting:

  • A Discord lib for CPP compatible with my project's PTV v120.
  • Or a way to downgrade one of the Discord libraries to make it compatible with my project.
  • Or a way to interact with the Discord API through my project.
  • Any other way.

Thank you.


Solution

  • As stated on the Discord Developer Portal, their API can be accessed entirely through web requests. You don't need any additional libraries, except if you want to use a prebuilt REST or WebSocket library for easier use, which - if available to you - i would highly recommend.