YetAnotherPicSearch4Telegram icon indicating copy to clipboard operation
YetAnotherPicSearch4Telegram copied to clipboard

一些bug

Open huajideshutiao opened this issue 4 months ago • 4 comments

          首先,在 `start.sh` 文件所在的同级目录下,创建一个名为 `.env` 的文件。然后,根据 [config.py](https://github.com/NekoAria/YetAnotherPicSearch4Telegram/blob/main/userbot/config.py) 文件中的说明配置必要的选项。其中,必须配置的项目包括:
TOKEN=
OWNER_ID=
ALLOWED_CHATS=[]

其中,TOKEN 是你从 @BotFather 获取的 bot token。 OWNER_ID 是你的 Telegram ID(一个整数值),可以通过 @userinfobot 或使用第三方 Telegram 客户端来获取。 ALLOWED_CHATS 应为一个数组,包括所有被允许使用该 bot 的群组或频道的 ID(均应为整数格式)。这些 ID 的获取方法多种多样,包括使用各类 bot 或第三方 Telegram 客户端等,具体操作请自行查找相关资料。 关于 docker 版本将在后续补充,目前暂时搁置。

Originally posted by @NekoAria in https://github.com/NekoAria/YetAnotherPicSearch4Telegram/issues/48#issuecomment-1873339559

huajideshutiao avatar Feb 29 '24 07:02 huajideshutiao