Skip to content

Helltar/artific_intellig_bot

Repository files navigation

AI Bot for Telegram

This bot is focused on Group Chats.

Installation

Docker Compose

mkdir aibot && cd aibot && \
wget https://raw.githubusercontent.com/Helltar/artific_intellig_bot/master/{.env,compose.yaml}

Edit the .env file with the following:

  • CREATOR_ID: Your Telegram user-ID (You can use @artific_intellig_bot by entering the command /myid)
  • BOT_TOKEN: Obtain from BotFather
  • BOT_USERNAME: Obtain from BotFather (Example: artific_intellig_bot)

Also include PostgreSQL connection data.

docker compose up -d

Usage

Obtain API Keys

First, get the following API key:

Add it using the command in the bot:

  • /updatekey sk-qwerty...

Commands

  • /chat - Chat and analyze images using gpt-4.1
  • /dalle - Generate an image based on a text prompt using dall-e-3
  • /dallevar - Create a variation of a provided image using dall-e-2

Additional Chat Commands

  • /chatctx - View dialogue history
  • /chatrm - Clear history

Admin Commands

Change Command State

  • /enable commandName (Example: /enable chat)
  • /disable commandName (Example: /disable dalle)

NOTE: Run /enable or /disable with no arguments to view supported commands.

Ban User

  • /ban (Use as reply to a user message, Example: /ban reason)
  • /unban (Use as reply to user message or by user ID)
  • /banlist

Slowmode

  • /slowmode (Default: 10 requests per hour per user)

Manage Admins

  • /addadmin (Add admin by ID, Example: /addadmin 123456789 username)
  • /rmadmin (Remove admin by ID)
  • /sudoers (View an admin list)

Manage Chats

  • /addchat (Add chat to allowlist, Use in chat or by ID)
  • /rmchat (Remove chat from allowlist, Use in chat or by ID)
  • /chats (View a chat list)

IntelliJ IDEA logo.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy