Pandabot/README.md
hx 42ab30f6c5 Unnecessary dependency removed
Signed-off-by: hx <hx@noreply.localhost>
2025-04-17 00:39:47 +00:00

1.3 KiB

Pandabot

Description

Pandabot is a flexible bot that offers various features such as database integration, file forwarding and interactivity with users via Telegram. With a customizable configuration and PostgreSQL support, the bot is ideal for automating file and communication processes.


Requirements

  • PostgreSQL: Installed and configured.
  • Apache Webserver: For the integration (optional).
  • Telegram Account

Directory structure

  • A download folder: downloads (relative to the bot's directory).

Installation

  1. Clone repository:

    git clone https://git.n64.cc/hx/Pandabot.git
    cd Pandabot
    
  2. set up database:

    • Create a PostgreSQL database with the default values from pandabot.conf or customize it.
  3. install dependencies (if needed):

    pip install -r requirements.txt
    
  4. customize configuration files:

    • Edit pandabot.conf and channels.conf to customize the settings accordingly (see below).

Configuration files

pandabot.conf

Important parameters

  • Botcommand: Command for bot interactions. Default: paul.
  • DB connection: Customize the following fields:
    • dbhost: IP address of the database server (default: 127.0.0.1).
    • dbport: Port of the database (default: 5432).