Skip to content
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

Command to teach users how to use codeblocks (and other discord tools?) #43

Closed
DenverCoder1 opened this issue Jan 14, 2021 · 4 comments · Fixed by #48
Closed

Command to teach users how to use codeblocks (and other discord tools?) #43

DenverCoder1 opened this issue Jan 14, 2021 · 4 comments · Fixed by #48
Assignees
Labels
enhancement New feature or request

Comments

@DenverCoder1
Copy link
Owner

Putting a backslash before the first ` should escape the codeblock for showing an example.

image

Can be invoked with ++codeblock or similar

@DenverCoder1 DenverCoder1 added the enhancement New feature or request label Jan 14, 2021
@DenverCoder1 DenverCoder1 added this to To do in JCT Discord Bot via automation Jan 14, 2021
@abrahammurciano
Copy link
Collaborator

Probably about equivalently hard to teach them how to use the bot command than how to use code blocks

@DenverCoder1
Copy link
Owner Author

DenverCoder1 commented Jan 15, 2021

It would basically be if someone posts code without a codeblock, someone else can call the command so the bot can teach them how.

Now that I think about it, we might even be able to detect code outside a codeblock without having to run a command.

@DenverCoder1
Copy link
Owner Author

Examples of what I mean:

(from r/webdev server)

image

image

image

@abrahammurciano
Copy link
Collaborator

abrahammurciano commented Jan 17, 2021

Consider the ability to request specific instructions, like this:
++markdown italics
or
++md code blocks
or
++md codeblock

@DenverCoder1 DenverCoder1 self-assigned this Jan 17, 2021
JCT Discord Bot automation moved this from To do to Done Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

2 participants