This bot is focused on Group Chats.
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 BotFatherBOT_USERNAME: Obtain from BotFather (Example: artific_intellig_bot)
Also include PostgreSQL connection data.
docker compose up -dFirst, get the following API key:
Add it using the command in the bot:
/updatekey sk-qwerty...
/chat- Chat and analyze images/imgen- Generate images from text prompts
/chatctx- View dialogue history/chatrm- Clear history
/chatmodel- Change OpenAI model for chat and vision/imgmodel- Change model for image generation
/enable commandName(Example:/enable chat)/disable commandName(Example:/disable imgen)
NOTE: Run
/enableor/disablewith no arguments to view supported commands.
/ban(Use as reply to a user message, Example:/ban reason)/unban(Use as reply to user message or by user ID)/banlist
/slowmode(Default: 10 requests per hour per user)
/addadmin(Add admin by ID, Example:/addadmin 123456789 username)/rmadmin(Remove admin by ID)/sudoers(View an admin list)
/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)