bots: Modify howdoi/readme.md to correctly call 'howdoi' bot.
Update images with new commands screenshots for better understanding.
This commit is contained in:
parent
d9a6fec1a0
commit
2e48392884
Binary file not shown.
Before Width: | Height: | Size: 9 KiB After Width: | Height: | Size: 12 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 12 KiB |
|
@ -11,17 +11,17 @@ Simply prepend your questions with one of the following commands. The
|
||||||
answer will be formatted differently depending the chosen command.
|
answer will be formatted differently depending the chosen command.
|
||||||
|
|
||||||
| Command | Respond |
|
| Command | Respond |
|
||||||
| ----------- | ------------------------------------------------------ |
|
| ----------------------- | ------------------------------------------------------ |
|
||||||
| `@howdowe` | Concise answer to the same stream. |
|
| `@mention-bot howdowe` | Concise answer to the same stream. |
|
||||||
| `@howdowe!` | Same as `@howdowe` but with full answer and URL of the solutions. |
|
| `@mention-bot howdowe!` | Same as `@mention-bot howdowe` but with full answer and URL of the solutions. |
|
||||||
| `@howdoi` | Concise answer replied to sender via private message. |
|
| `@mention-bot howdoi` | Concise answer replied to sender via private message. |
|
||||||
| `@howdoi!` | Same as `@howdoi` but with full answer and URL of the solutions. |
|
| `@mention-bot howdoi!` | Same as `@mention-bot howdoi` but with full answer and URL of the solutions. |
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
#### Example 1
|
#### Example 1
|
||||||
|
|
||||||
Question -> `@howdowe use supervisor in elixir`
|
Question -> `@mention-bot howdowe use supervisor in elixir`
|
||||||
|
|
||||||
![howdowe question](assets/question_howdowe.png)
|
![howdowe question](assets/question_howdowe.png)
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ of the answer.
|
||||||
|
|
||||||
#### Example 2
|
#### Example 2
|
||||||
|
|
||||||
Question -> `@howdoi! stack vs heap`
|
Question -> `@mention-bot howdoi! stack vs heap`
|
||||||
|
|
||||||
![howdoi! question](assets/question_howdoi_all.png)
|
![howdoi! question](assets/question_howdoi_all.png)
|
||||||
|
|
||||||
|
@ -51,6 +51,6 @@ This could be adjusted in the source code (`HowdoiHandler.MAX_LINE_LENGTH`).
|
||||||
instead of a complete sentences (eg: "How do i make a decorator in Python"
|
instead of a complete sentences (eg: "How do i make a decorator in Python"
|
||||||
-> "python decorator").
|
-> "python decorator").
|
||||||
|
|
||||||
* __[*Limitation*]__ If a answer contains multiple code blocks, the `@howdoi`
|
* __[*Limitation*]__ If a answer contains multiple code blocks, the `@mention-bot howdoi`
|
||||||
and `@howdowe` commands would only return the first coding section, use
|
and `@mention-bot howdowe` commands would only return the first coding section, use
|
||||||
`@howdo[we|i]!` in that case.
|
`@mention-bot howdo[we|i]!` in that case.
|
||||||
|
|
Loading…
Reference in a new issue