A Telegram bot for UNICT (University of Catania) students enabling them to connect semi-anonymously.
- Login: Authenticate with your UniCT email.
- Random Chat: Engage in conversations with strangers.
- Interest Matching: Specify your interests and connect with students of similar tastes.
- Global Chat: Join a community chat with all UniCT students.
Note: The bot commands and their responses are in Italian. Use
/start
to initiate and/help
for a command list.
- Open Telegram and search for @BotFather.
- Start a conversation with
/start
. - Create a new bot using
/newbot
. - Name your bot and assign a tag (it should end with
bot
). - Copy the provided token.
The bot operates through a set of commands and reacts to specific triggers. Below is an overview of the bot's main commands and their descriptions:
/start
: Sends a welcome message. (Translation: messaggio di benvenuto)/help
: Provides guidance on available commands. (Translation: ricevi aiuto sui comandi)/report
: Allows users to report an issue or problem. (Translation: segnala un problema)/chatid
: Returns the chat ID of the current conversation.
This can be useful for debugging and administration purposes. The bot is also programmed to handle messages and commands in private chats, ensuring the safety and privacy of user interactions.
version: '2'
services:
finderdmibot:
image: ghcr.io/unict-dmi/finderunict-bot:main
container_name: finderunictbot
volumes:
- "path-to-your-settings.yaml":/finderunictbot/config/settings.yaml
restart: unless-stopped
- Clone the repository:
$ git clone [email protected]:UNICT-DMI/FinderUniCT-Bot.git
- Make a copy of
config/settings.yaml.dist
and rename it toconfig/settings.yaml
. - Add your Telegram bot's token in the
token
field. - Build the image:
$ cd FinderUniCT-Bot
$ docker build -t finderunictbot .
-
Run:
-
On Windows:
$ docker run -v "C:\path\to\your\settings.yaml:/finderunictbot/config/settings.yaml" finderunictbot
-
On Linux:
$ docker run -v "/path/to/your/settings.yaml:/finderunictbot/config/settings.yaml" finderunictbot
-
$ docker run -v "/local/path/to/settings.yml":/finderunictbot/config/settings.yml -t ghcr.io/unict-dmi/finderunict-bot:main
- Clone this repository.
- Copy
config/settings.yaml.dist
toconfig/settings.yaml
. - Update the
token
field with your Telegram bot's token. - Execute:
$ python main.py