Skip to content

Commit

Permalink
document video directive
Browse files Browse the repository at this point in the history
  • Loading branch information
otothea committed Jun 25, 2022
1 parent 652b6ca commit e76ebce
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/directives/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ Response directives are used to make dynamic actions for your `custom commands <
predelay
prehours
transfer
video
whisper
advanced
20 changes: 20 additions & 0 deletions docs/directives/video.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
$[video]
========

Sends a video to play in the `video overlay <https://botisimo.com/account/overlays>`_.

Usage:
$[video ``<name>``]

Arguments:
* ``name`` **<required>** - The name of the video to play

Example Command:
**name**: !video

**response**: $[video my video] This command will trigger the video named "my video"

**output**::

user: !video
botisimo: This command will trigger the video named "my video"

0 comments on commit e76ebce

Please sign in to comment.