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