tonym128 / shhh-bot

A Telegram Bot to convert speech to text from small videos and audio files.
MIT License
24 stars 1 forks source link

chat id / allowed id not working as expected #13

Closed Coolykoen closed 7 months ago

Coolykoen commented 7 months ago

This one might be my own mistake, but i cant figure this out.

image

im sure, i have triple checked, i really think i have the same id in my chat id and in allowed chat id. yet whenever i try to restrict acces to only my chat id with the SHHH_ALLOWED_CHAT_IDS=123456 env. it errors out as if it shouldnt work for that id. (replace 123456 with my actual chat id btw)

current compose:

version: "3"
services:
  shhhbot:
    container_name: shhhbot
    hostname: shhhbot
    restart: always
    image: ghcr.io/tonym128/shhh-bot
    environment:
      - SHHH_API_KEY=API_KEY
      - SHHH_ALLOWED_CHAT_IDS=123456
      - SHHH_MY_CHAT_ID=123456
tonym128 commented 7 months ago

The my chat id works as expected for sending admin messages to yourself

I haven't had any luck fixing SHHH_ALLOWED_CHAT_IDS, I'll keep working on it, but for now it's broken... It really shouldn't be this hard to get it working!

Coolykoen commented 7 months ago

No worries, thank you for trying. Take your time

tonym128 commented 7 months ago

The latest image

image: ghcr.io/tonym128/shhh-bot

Has a fix for the allow list not working.

It's working fine for me now, hopefully that will be your two issues resolved and happy speech to texting 😄

Coolykoen commented 7 months ago

Seems to work as expected now, again thanks for your time on both issues, i appreciate it!