瀏覽代碼

added an extra meme to the docs.

tags/v2.0.0
Roxie Gibson 5 年之前
父節點
當前提交
6c068f04ce
共有 2 個檔案被更改,包括 4 行新增4 行删除
  1. +2
    -2
      docs/commands.md
  2. +2
    -2
      roxbot/cogs/customcommands.py

+ 2
- 2
docs/commands.md 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存