Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 400 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 400 Bytes

TelegramGPTBot

Super simple telegram -> OpenAI API bot

Build

CGO_ENABLED=0 go build -o bot .

Run

./bot -c config.cfg where config.cfg has structure

mode = debug
telegram_token = place_your_telegrambot_token_here
chatgpt_token = place_your_chatgptapi_token_here
bot_members = memberTelegramId1,memberTelegramId2,memberTelegramIdN

Bot commands

/drop - drop chatting context