-
Notifications
You must be signed in to change notification settings - Fork 2
OnVideo handler
Arius Bronte edited this page Feb 24, 2020
·
1 revision
Triggers a video and responds with the word "video".
commands.OnVideo("video");
Triggers a photo and and sends randomly from the array word.
commands.OnVideo("it`s video", "nice video!", "amazing video!");
You can set your own trigger processing logic.
commands.OnVideo(async (api, message, token) =>
{
// your logic
});