From d8a091b9c715163d59f2f5ea5ccf59ca4c8a0635 Mon Sep 17 00:00:00 2001 From: Rodrigo Caldas <75918726+c4ldas@users.noreply.github.com> Date: Sat, 23 Sep 2023 01:05:51 +0100 Subject: [PATCH 1/3] Added $(game) variable --- docs/chatbot/variables/game.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/chatbot/variables/game.md diff --git a/docs/chatbot/variables/game.md b/docs/chatbot/variables/game.md new file mode 100644 index 0000000..6813010 --- /dev/null +++ b/docs/chatbot/variables/game.md @@ -0,0 +1,26 @@ +--- +id: title +tags: + - chatbot + - variable +--- + +# $(game) + +Displays the current game + +#### Parameters + +This variable does not take any parameters. + +#### Example Input + +``` +${game} +``` + +#### Example Output + +``` +Valorant +``` From d6174b02462a59f196035f1b1093f1c9cfb32220 Mon Sep 17 00:00:00 2001 From: Styler Date: Sat, 23 Sep 2023 12:45:27 +0200 Subject: [PATCH 2/3] Update docs/chatbot/variables/game.md --- docs/chatbot/variables/game.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chatbot/variables/game.md b/docs/chatbot/variables/game.md index 6813010..c0ba2f6 100644 --- a/docs/chatbot/variables/game.md +++ b/docs/chatbot/variables/game.md @@ -11,7 +11,7 @@ Displays the current game #### Parameters -This variable does not take any parameters. +- `username` (optional): The username of the account you want to check. If no username is provided, the command will check the game of the current channel. #### Example Input From 8b002ff2c9e5afcb71d5f8b8fd6dd61a65b83fa8 Mon Sep 17 00:00:00 2001 From: Styler Date: Sat, 23 Sep 2023 12:45:46 +0200 Subject: [PATCH 3/3] Update docs/chatbot/variables/game.md --- docs/chatbot/variables/game.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chatbot/variables/game.md b/docs/chatbot/variables/game.md index c0ba2f6..a3de727 100644 --- a/docs/chatbot/variables/game.md +++ b/docs/chatbot/variables/game.md @@ -1,5 +1,5 @@ --- -id: title +id: game tags: - chatbot - variable