This bot is designed for use in group chats.
mkdir aibot && cd aibot && \
wget https://raw.githubusercontent.com/Helltar/artific-intellig-bot/master/{.env,compose.yaml}Edit the .env file and set the following values:
CREATOR_ID: your Telegram user ID (for example,1234567890)BOT_TOKEN: get it from BotFatherBOT_USERNAME: get it from BotFather (for example,artific_intellig_bot)
Also add your PostgreSQL connection settings.
docker compose up -dFirst, create the following API key:
Then add it in the bot with:
/updatekey sk-proj-qwertyuiop
/chat- chat and analyze images/imgen- generate images from text prompts
/chatctx- view dialogue history/chatrm- clear history
/chatmodel- change the OpenAI model for chat and vision/imgmodel- change the model for image generation
/enable commandName(example:/enable chat)/disable commandName(example:/disable imgen)
Note: Run
/enableor/disablewithout arguments to view supported commands.
/ban(use as a reply to a user message, example:/ban reason)/unban(use as a reply to a user message or by user ID)/banlist
/slowmode(default: 10 requests per hour per user)
/addadmin(add an admin by ID, example:/addadmin 123456789 username)/rmadmin(remove an admin by ID)/sudoers(view the admin list)
/addchat(add a chat to the allowlist; use it in the chat or by ID)/rmchat(remove a chat from the allowlist; use it in the chat or by ID)/chats(view the chat list)