[go: nahoru, domu]

Skip to content

TBXark/poe-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poe chatbot for telegram

A lightweight poe chatbot for telegram

Usage

Finding Your Token:

Log into Poe on any web browser, then open your browser's developer tools (also known as "inspect") and look for the value of the p-b cookie in the following menus:

  • Chromium: Devtools > Application > Cookies > poe.com
  • Firefox: Devtools > Storage > Cookies
  • Safari: Devtools > Storage > Cookies

Create config.json

remove the comments before use

{
    "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0", 
    "token": ":", // telegram bot token
    "chatbot": {
        "0": { // your telegram user id
            "token": "", // poe token
            "bot": "chinchilla" // poe bot name
        }
  }
}

Run

  1. docker
docker pull ghcr.io/tbxark/poe-telegram-bot:latest
docker run -d --name poe-telegram-bot -v /root/poe-telegram-bot/config.json:/app/config.json ghcr.io/tbxark/poe-telegram-bot:latest
  1. manual
git clone https://github.com/TBXark/poe-telegram-bot.git
cd poe-telegram-bot
pip install -r requirements.txt
python main.py -c config.json

About

A lightweight poe chatbot for telegram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages