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.04k stars 158 forks source link

docs: fixed missing/incorrect params for many functions #1110

Closed Jaskowicz1 closed 5 months ago

Jaskowicz1 commented 5 months ago

This PR fixes many missing/incorrect params for some functions.

This PR also adds the message_edit_flags coro and sync calls, as they were missing from the last PR.

Code change checklist

netlify[bot] commented 5 months ago

Deploy Preview for dpp-dev ready!

Name Link
Latest commit 2a785e534cc4328491b7d70becd6a45331285a19
Latest deploy log https://app.netlify.com/sites/dpp-dev/deploys/6605644eb8c5370008e59653
Deploy Preview https://deploy-preview-1110--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.

Jaskowicz1 commented 5 months ago

It's worth noting that there are still a couple of issues left, however, these are not things that are missing but rather doxygen struggling to understand a couple things. These are:

/mnt/c/Users/archi/Desktop/DPP/include/dpp/event_router.h:714: warning: unable to resolve reference to 'operator(F&&)' for \ref command
/mnt/c/Users/archi/Desktop/DPP/include/dpp/coro/coroutine.h:439: warning: argument 'expr' from the argument list of dpp::detail::coroutine::promise_t::return_value has multiple @param documentation sections
/mnt/c/Users/archi/Desktop/DPP/include/dpp/event_router.h:145: warning: unexpected token in comment block while parsing the argument of command throw
/mnt/c/Users/archi/Desktop/DPP/include/dpp/event_router.h:140: warning: documented empty return type of dpp::detail::event_router::awaitable::await_suspend
/mnt/c/Users/archi/Desktop/DPP/include/dpp/coro/task.h:626: warning: unable to resolve reference to 'proxy_awaiter' for \ref command
/mnt/c/Users/archi/Desktop/DPP/include/dpp/coro/task.h:662: warning: argument 'expr' from the argument list of dpp::detail::task::promise_t::return_value has multiple @param documentation sections
/mnt/c/Users/archi/Desktop/DPP/include/dpp/coro/task.h:626: warning: unable to resolve reference to 'proxy_awaiter' for \ref command