Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose方式安装运行报错 #4

Open
Nodewebzsz opened this issue Apr 26, 2024 · 1 comment
Open

docker-compose方式安装运行报错 #4

Nodewebzsz opened this issue Apr 26, 2024 · 1 comment

Comments

@Nodewebzsz
Copy link

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/telegram/ext/utils/promise.py", line 96, in run
self._result = self.pooled_function(*self.args, **self.kwargs)
File "/opt/nezha_telegram_bot/utils/handler.py", line 455, in search_command
send_message = update.message.reply_text
AttributeError: 'NoneType' object has no attribute 'reply_text'

@Kosonlee
Copy link

Kosonlee commented Jun 12, 2024

docker run -d --name=nezhabot
--restart=always
-v /home/nezha/conf.ini:/opt/nezha_telegram_bot/conf.ini
-v /home/nezha/data/:/opt/nezha_telegram_bot/data/
techfever/nezha_telegram_bot:latest

直接运行 前提你的ini文件目录保持一致

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants