lzzy12 / python-aria-mirror-bot

A telegram bot for all your mirror needs | OG Repo
https://t.me/pythonmirrorsupport
GNU General Public License v3.0
736 stars 1.3k forks source link

authorized_chats.txt not creating by code #246

Closed srijansaxena11 closed 3 years ago

srijansaxena11 commented 3 years ago

Hi. As per the code, whenever a user/chat is authorized, it should be appended to authorized_chats.txt file. But this is not happening. There is no file named authorized_chats.txt in root folder of mirror_bot. Even when created manually, this file is blank.

lzzy12 commented 3 years ago

It happens inside the docker container.

srijansaxena11 commented 3 years ago

It happens inside the docker container.

where can i find it? sorry if it is a noob question.

lzzy12 commented 3 years ago

What do you want to do? If you want to make your Authorized users persistent, you should add the ids to the authorized_users.txt file manually.

srijansaxena11 commented 3 years ago

What do you want to do?

Just wanted to check who all are authorized.

If you want to make your Authorized users persistent, you should add the ids to the authorized_users.txt file manually.

This will be in root directory right?

lzzy12 commented 3 years ago

You can navigate through the docker container file system by establishing an ssh connection to the container: docker exec -t -i mycontainer /bin/bash

This will be in root directory right?

Yes

srijansaxena11 commented 3 years ago

ok. thanks.