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 -d
First, get the following API key:
Add it using the command in the bot:
/updatekey sk-qwerty...
/chat
- ChatGPT (gpt-4o)/vision
- Describes images with GPT-4 Vision (gpt-4o)/dalle
- Creates an image given a prompt (dall-e-3)/dallevar
- Creates a variation of a given image (dall-e-2)/asr
- Transcribes audio (whisper-1)/privacy
/about
/chatctx
- View dialogue history/chatrm
- Clear history
For audio responses (TTS), add the #voice tag to your message, for example:
Hello, how are you? #voice
/enable commandName
(Example:/enable chat
)/disable commandName
(Example:/disable dalle
)
NOTE: Run
/enable
or/disable
with no arguments to view supported commands.
/ban
(Use as reply to user message, Example:/ban reason
)/unban
(Use as reply to user message or by user ID)/banlist
/slowmode
(Use as reply to user message, Example:/slowmode 5
) (Requests per hour)/slowmodeoff
(Use as reply to user message or by user ID)/slowmodelist
(Default: 10 requests per hour per user)
/globalslowmode
/addadmin
(Add admin by ID, Example:/addadmin 123456789 username
)/rmadmin
(Remove admin by ID)/sudoers
(View admin list)
/addchat
(Add chat to whitelist, Use in chat or by ID)/rmchat
(Remove chat from whitelist, Use in chat or by ID)/chats
(View chats list)
/updateprivacy
(Update bot privacy policy/privacy
)