Browse Source

added an extra meme to the docs.

tags/v2.0.0
Roxie Gibson 5 years ago
parent
commit
6c068f04ce
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      docs/commands.md
  2. +2
    -2
      roxbot/cogs/customcommands.py

+ 2
- 2
docs/commands.md View File

@@ -584,8 +584,8 @@ Options:
Examples:

```py
# Add a no_prefix command called "test" with the output "hello world"
;cc add no_prefix test "hello world"
# Add a no_prefix command called "test" with a URL output.
;cc add no_prefix test "https://www.youtube.com/watch?v=vJZp6awlL58"
# Add a prefix command called test2 with a randomised output between "the person above me is annoying" and "the person above me is cool :sunglasses:"
;cc add prefix test2 "the person above me is annoying" "the person above me is cool :sunglasses:
# Add an embed command called test3 with a title of "Title" and a description that is a markdown hyperlink to a youtube video, and the colour #deadbf

+ 2
- 2
roxbot/cogs/customcommands.py View File

@@ -166,8 +166,8 @@ class CustomCommands:
`no_prefix` and `prefix` types support single outputs and also listing multiple outputs. When the latter is chosen, the output will be a random choice of the multiple outputs.

Examples:
# Add a no_prefix command called "test" with the output "hello world"
;cc add no_prefix test "hello world"
# Add a no_prefix command called "test" with a URL output.
;cc add no_prefix test "https://www.youtube.com/watch?v=vJZp6awlL58"
# Add a prefix command called test2 with a randomised output between "the person above me is annoying" and "the person above me is cool :sunglasses:"
;cc add prefix test2 "the person above me is annoying" "the person above me is cool :sunglasses:
# Add an embed command called test3 with a title of "Title" and a description that is a markdown hyperlink to a youtube video, and the colour #deadbf

Loading…
Cancel
Save