Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.19 KB

File metadata and controls

42 lines (29 loc) · 1.19 KB

SITCON-Camp-2024-Hackathon-Team5

English | 繁體中文 | Deutsch

What can this bot do?

This bot will inform you about your day very well and will make your life much easier! /help - Get the list of commands
/weather - Get the weather of a city
/set_calendar_link [link] - Give the bot your username for your google calendar
/calendar_today - Get the events of today
/set_calendar_notify [time] - Set the time to notify you about the events of the day
[location] - send your location, and the bot will tell you a today-schedule about the place near you
/picture [sentence] - Get morning,noon and evening pictures (The sentence is optional; if not provided, a sentence will be automatically generated based on the current time by Gemini.)
/color - Change the word color in the picture "

Setup

  1. Installation package

    • Install via pip
    pip install -r requirements.txt
    • Install via poetry
    poetry install
  2. Fill in your own configuration

    • Copy the config_template.py file to config.py
    • Fill in your Telegram bot token ans Geming API key

Run

python main.py