LetBot Wiki

website·Indexed 29 days ago

https://wiki.getletbot.com

Documentation for LetBot, a feature-rich bot offering tools for AI image generation (/img), GPT Q&A (/gpt), OCR text recognition (/ocr), TTS text-to-speech (/tts), and media utilities like video-to-GIF conversion (/gif), file downloading (/wget), and aggregated parsing (/jx) for platforms like YouTube, Bilibili, and TikTok.

Tokens
5.8K
Snippets
55
Records
72
Agent score
49%

What's inside LetBot

  1. Retrieve user, group, or channel information using /get

    The /get command allows users to fetch detailed information about themselves, the current chat, or specific entities using IDs, usernames, or Telegram links. It supports text input and is compatible with both command mapping and REPL mode.
    /get me                   # Get information about the current user
    /get chat                 # Get information about the current group/chat
    /get -1001567342578       # Get information by Chat ID
    /get https://t.me/mio_house # Get information via Telegram link
    /get @mio_house            # Get information via username
  2. Preview video files in group chats

    The bot automatically provides a preview for video files sent within a group chat. This feature is triggered automatically when a video file is uploaded; no specific command is required. To be eligible for the automatic preview, the video file must be smaller than 100MB.
  3. Preview image files automatically in group chats

    The image preview feature automatically converts image files sent in a group chat into viewable images for easier previewing. This feature is triggered automatically when a supported image file is uploaded.

    Constraints and behaviors:

    • Maximum file size: 10MB.
    • Long images (such as chat logs) are automatically sliced into smaller segments to ensure they can be displayed.
  4. Use the Moyu Calendar feature

    The Moyu Calendar feature allows users to retrieve calendar information using specific commands. It supports both manual command triggers and automatic triggers and is compatible with text input. The scheduled sending time for this feature can be modified in the /set configuration settings.
    /moyu
    /摸鱼
    /摸鱼日历
  5. Trigger the Repeater feature in group chats

    The Repeater feature automatically triggers in group chats to repeat a message or sticker. It supports both text and stickers. The feature is triggered when:

    1. A message or sticker is sent twice consecutively.
    2. A text message ends with an exclamation mark (!).

    If the triggered message is a forwarded message or a reply, the bot will preserve and synchronize that status in the repeated message.

  6. Use the Answer Book plugin to respond to questions

    The Answer Book plugin automatically detects if a user's message is an interrogative sentence (a question) and triggers a response. It supports text input and is compatible with REPL mode and command mapping.
    # Trigger the plugin manually using the command: /ask
  7. Perform Google searches within GPT Q&A

    To trigger a Google search integrated with the GPT response, append /gs to the /gpt command. You can also create a command mapping for /gs to make it easier to use.
    /gpt /gs北京天气
  8. Use the GPT Q&A feature via /gpt command

    The GPT Q&A feature allows users to interact with an AI assistant using the /gpt command. It supports various input types including text, media, stickers, and GIFs. It currently supports REPL mode and command mapping, but does not yet support conversation context.
    /gpt [your question]
  9. Enable user-only features for channels via Channel Mapping

    Some Bot features are restricted to 'user' identities. To allow a channel identity to use these features, add the Bot to your channel. This process maps the channel identity to a user identity, allowing the Bot to treat the channel as a user.
  10. Use LetBot in Automatic Trigger Mode

    In Automatic Trigger mode, the bot automatically analyzes sent messages to determine if a specific function should be triggered without requiring an explicit command prefix.
  11. Identify Anime and Galgame characters using the /pr command

    The /pr command is used to identify characters from anime and Galgames. It supports various media types including images, stickers, GIFs, and videos. By default, the command performs anime character recognition if no parameters are provided. It supports both direct command replies and file descriptions, and is compatible with REPL mode.
    /pr          # Default: Anime character recognition
    /pr ani      # Explicitly identify anime characters
    /pr gal      # Identify Galgame characters
  12. Use LetBot in Command Mode

    In Command Mode, users trigger bot functions by sending specific commands. A space must be used to separate the command from its parameters. Commands can be triggered manually via direct messages or by adding a command as a caption/description when sending a file.