Sharzy

Results 12 comments of Sharzy

I am considering the following implementation: When a paste is POST or PUT, the server checks if 1. the filename stored in multipart/formdata contains a file extension that corresponds to...

TODO: - [ ] Documentation - [ ] Frontend display

放在 issue 区也未尝不可。可以改成一个比较 general 的标题

我目前有几个账号都是用了这个 bot,还未观察到封禁现象。据说新注册的账号比较容易被 ban,不知道你的账号是不是新注册的。Telegram 应该提供了申诉功能,应该还是能恢复账号吧。 > 因为不小心把redis持久化的删了 其实 redis 里面没有存什么消息数据,只是存储一些辅助和 bot 的交互的临时数据,删掉对于运行的影响不太大。

这是一直存在的一个问题,原因是后端使用的库 [whoosh](https://whoosh.readthedocs.io) 存储消息的时候是搜索的时候是根据倒排索引来搜索的。「我会知道」被分词为 `["我", "会", "知道"]`,从而索引里面会存储 `我`,`会`, `知道` 这三个词对应的消息 id。只有当使用「知道」这个关键词的时候才能通过索引找到对应的消息。解决这个问题需要修改存储的逻辑,这是一个比较麻烦的问题。

I have upgraded `python-telegram-bot` to 13.4.1. The versions of other dependencies keep unchanged. But the backslashes still exists. By the way, it is noteworthy that downgrading `efb-telegram-master` from 2.2.3 to...

这不算是崩溃,只是没有特别处理报错信息。由于 Telegram 的机制,对于没有关注的频道,无法从 id 来获得频道的信息,在调用 `get_input_entity` 的时候会抛出异常。

> /download_chat 信息没下载完全,索引了2w条,但只下载了5k条 请问是api原因吗 能否提供更详细的信息,2w 和 5k 这两个数字是怎样获知的?

Sorry it has been a while. Could you please provide list of steps to reproduce the issue, and describe how it is expected to be?