brainboxdotcc / DPP

C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
https://dpp.dev/
Apache License 2.0
1.01k stars 155 forks source link

Updated autocomplete tutorial #1151

Closed JAHammy closed 2 months ago

JAHammy commented 2 months ago

Updated autocomplete tutorial to bypass recent command_type error with automatic conversion of c-style strings to booleans instead of to std::strings, with the hope that this code should now work out of the box for new developers.

The c-style string arguments near the ends of lines 53-56 are now explicitly converted to std::string before being converted implicitly to command_type.

Documentation change checklist

netlify[bot] commented 2 months ago

Deploy Preview for dpp-dev ready!

Name Link
Latest commit bbac348932750f3f72cf68ab934a63b8b9a57185
Latest deploy log https://app.netlify.com/sites/dpp-dev/deploys/66447d7ed47cde00084519dc
Deploy Preview https://deploy-preview-1151--dpp-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.