Skip to content

Commit 97f20bc

Browse files
author
Liki4
committed
update: meme help text
1 parent 0fbca43 commit 97f20bc

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

src/meme/cmd.rs

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,29 @@ use {
2727
};
2828

2929
const HELP_MSG: &str = r#"
30-
`/meme help` \- display this message
31-
`/meme list` \- list all memes
32-
`/meme info <key/keyword>` \- display meme information
33-
`/meme search <keyword>` \- search meme key by keyword
34-
`/meme random [args]` \- generate a random meme
35-
`/meme generate <key/keyword> [args]` \- generate a specific meme
30+
**Meme Bot Commands:**
3631
37-
args \= `[<text1> <text2>] [<@someone> <@someone_else>]`
32+
`/meme help` \- Display this help message\.
33+
`/meme list` \- List all available memes\.
34+
`/meme info <key/keyword>` \- Display detailed information about a specific meme\.
35+
`/meme search <keyword>` \- Search for a meme by keyword\.
36+
`/meme random [args]` \- Generate a random meme with optional arguments\.
37+
`/meme generate <key/keyword> [args]` \- Generate a specific meme with optional arguments\.
3838
39-
**random** & **generate** action can pass photo using `@someone`, append as photo and reply to a media group message
39+
**Arguments Format:**
40+
`[<text1> <text2>] [<@someone> <@someone_else>]`
4041
41-
command sender's **first\_name** & **profile\_photo** will append to end of texts\_list and photos\_list
42+
· **Texts:** Provide text inputs for the meme\.
43+
· **Photos:** Mention users \(`@someone`\) to include their profile photos in the meme\.
4244
43-
see https://github\.com/Liki4/Liki4TeloxideBot for more details\.
45+
**Additional Notes:**
46+
· The **random** and **generate** commands can use photos by
47+
· attaching an image to the command message
48+
· mentioning users \(`@someone`\) in the command message
49+
· replying to a media group message
50+
· The command sender's **first\_name** and **profile\_photo** are automatically appended to the end of the `texts\_list` and `photos\_list`\.
51+
52+
For more details, visit the [GitHub repository Liki4TeloxideBot](https://github\.com/Liki4/Liki4TeloxideBot)\.
4453
"#;
4554

4655
pub async fn meme_command_handler(

0 commit comments

Comments
 (0)