Untitled

Untitled

tgdev.io

About Wiki Robot

Wiki Robot can post text to chat on scheduled time. You can setup multiple text and configure specific post time for each text. In any time you can also display text using its ID.

Installation

Step 1. Add @wikirobot as admin into your chatroom

Step 2. Give bot a permission to delete messages.

Commands

  • /wiki check - check if bot is installed correctly.
  • /wiki reload_admins - ask bot to reload admin IDs for current chat. Admins list is collected once and cached. Use this command to update cached data.
  • /wiki config - see bot configuration for current chat i.e. see which languages are blocked
  • /wiki setmsg TEXTID - use this command in reply to message you want to remember as TEXTID. Here TEXTID could be any alphanumeric token like "rules", "faq", "text44". Example of command: /wiki setmsg faq.
  • /wiki cron TEXTID TIME - configure posting time(s) for TEXTID text. TIME could be one of two formats. First, it could be "h1", "h2", "h3", "h4", "h6" or "h12" to post text each one (two, three, four, six, twelve) hours. Example: /wiki cron MSGID h4. Second, it might be list of hour:minutes pairs delimited by comma. Example: /wiki cron MSGID 12:00,13:05,16:20.
  • /wiki delmsg TEXTID - forget (remove) TEXTID text. Example: /wiki delmsg faq
  • /wiki pin TEXTID MODE - enable/disabling pinning message when posting it. MODE must be "yes" or "no". Example: /wiki pin faq yes.

All these commands have to be entered in chatroom where @wikirobot is installed. Do not send these commands in private messages to @wikirobot.

Scheduling Text Posting

Suppose you want to post chat rules each midnight and noon.

  1. First write rules as new message to chat.

  2. Then reply to this message with command /wiki setmsg rules

  3. Now @wikirobot remembered text by "rules" id. Use this id to setup posting time: /wiki cron rules 00:00,12:00. Be aware that @wikirobot operates with UTC time. So, for example, if your chat timezone is GMT+3, then you have to use these times: /wiki cron rules 21:00,9:00.

  4. If you want @wikirobot ping message then posting it use this command: /wiki pin rules yes

(!) If you edit original post which you used with setmsg command @wikirobot will notice it and will use updated content for next text posting.

FAQ

How to check if bot installed correctly?

First, complete installation instructions. Then type into chat this command: /wiki check. Fix any issues bot talkes about.

How to check if bot counts message as spam or not

Just forward message to bot and it will say you is it arabic spam or not. If you think bot is incorrect. Then please submit bug report to support group.

See Also

If you need to block undesired content these bots could be helpful: @daysandbox_bot, @freqrobot, @grep_robot, @hushrobot, @joinhider_bot, @lang_blocker_bot, @noarab_bot, @nohello_robot, @nosticker_bot, @orgrobot, @watchdog_robot.

Support

You may ask question, send feedback or bugreport in these telegram groups:

Source tgdev.io

Report Page