Frost Ming 7a46a22262
feat: Modularize handlers
Signed-off-by: Frost Ming <me@frostming.com>
2023-12-15 14:00:18 +08:00
2023-12-15 12:57:32 +08:00
2023-12-15 14:00:18 +08:00
2023-12-14 19:59:18 +08:00
2023-12-11 19:18:55 +08:00
2023-12-15 09:41:23 +08:00
2023-12-14 22:33:00 +08:00
2023-12-15 14:00:18 +08:00

tg_bot_collections

Collections of yihong0618's telegram bot

for yihong0618's channel: https://t.me/hyi0618

Bot -> poster

image

Bot -> pretty mapper

image

Bot -> Gemini player

  1. visit https://makersuite.google.com/app/apikey get the key
  2. export GOOGLE_GEMINI_KEY=${the_key}
  3. use gemini: ${message} to ask

HOW TO

  1. pip install -r requirements.txt
  2. Get tg token, ask Google or ChatGPT, need get it from BotFather
  3. python tg.py ${tg_token}

Contribution

  • Any issue reports or PRs are welcome.
  • Before PR, use pip install -U black then black . first

Acknowledge

Appreciation

  • Thank you, that's enough. Just enjoy it.
Description
collections of yihong0618's telegram bot
Readme MIT 2.7 MiB
Languages
Python 94.3%
Shell 5.1%
Dockerfile 0.6%