-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: fixed missing brackets in attachments.md #840
Conversation
✅ Deploy Preview for dpp-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Examples 1 and 3 still don't build :
[18:00:41] (miuna):~/dev/build/DPP/g++11> g++-11 attachments1.cpp -Llibrary/ -ldpp -I../src/include/ -std=c++17
attachments1.cpp: In lambda function:
attachments1.cpp:13:36: error: ‘const struct dpp::slashcommand_t’ has no member named ‘msg’
13 | dpp::message msg(event.msg.channel_id, "Hey there, I've got a new file!");
| ^~~
[18:06:37] (miuna):~/dev/build/DPP/g++11> g++-11 attachments3.cpp -Llibrary/ -ldpp -I../src/include/ -std=c++17
attachments3.cpp: In lambda function:
attachments3.cpp:14:36: error: ‘const struct dpp::slashcommand_t’ has no member named ‘msg’
14 | dpp::message msg(event.msg.channel_id, "");
| ^~~
good spot, i didnt catch this! |
I'll sort that in the morning! |
Fixed up the issues that Mishura stated. |
This PR is similar to #838, fixing a missing bracket in attachments.md.
dev
branch.