Setting Triggers
Contents
Setting local triggers
Everybody can set local triggers with the bot in any chat. There is no restriction for that, no admin needed or similar things. It works as follows:
- Send the message you want to have as trigger to the chat. This can be text, stickers, gifs, pics...
- Reply to the message with
/addtrigger triggertext - Done
Example:
Deleting local triggers
Deleting local triggers works with /deltrigger triggertext in the chat where the local trigger existed.
Setting global triggers
Global triggers can only be set by users who were granted the rights for it by Vik, manually. Setting global triggers works exactly like local triggers:
- Send the message you want to have as trigger to the chat. This can be text, stickers, gifs, pics...
- Reply to the message with
/addtrigger_g triggertext - Done! Now you can trigger the reply by typing the triggertext in the chat you set the trigger in
Deleting global triggers
Users with rights to set global triggers can use /deltrigger_g triggertext in any chat with the bot.
Granting global trigger rights
Use /give_global_trigger tgID setting, e.g. /give_global_trigger 12345678 1. Only Vik can do that.