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

Use string_view for message object ctors + setters #1178

Closed BowDown097 closed 3 weeks ago

BowDown097 commented 3 weeks ago

This makes the methods more flexible with types of input, most notably with string_views themselves so the user doesn't have to create a temporary std::string.

Code change checklist

netlify[bot] commented 3 weeks ago

Deploy Preview for dpp-dev ready!

Name Link
Latest commit 75913dbeec6ce1f6cbf4f08c8492432c4781dba4
Latest deploy log https://app.netlify.com/sites/dpp-dev/deploys/6676114a3475380008502ad6
Deploy Preview https://deploy-preview-1178--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.