No description
|
||
---|---|---|
bin | ||
conf | ||
extinc | ||
inc | ||
pb-web | ||
prepare_server | ||
vendor | ||
bot.sh | ||
LICENSE | ||
pandabot.nfo | ||
README.md |
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
-
Clone repository:
git clone https://git.n64.cc/hx/Pandabot.git cd Pandabot
-
set up database:
- Create a PostgreSQL database with the default values from
pandabot.conf
or customize it.
- Create a PostgreSQL database with the default values from
-
install dependencies (if needed):
pip install -r requirements.txt
-
customize configuration files:
- Edit
pandabot.conf
andchannels.conf
to customize the settings accordingly (see below).
- Edit
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
).