使用终端测试模式 #help banwords 报错 #878
reinforceli
started this conversation in
General
Replies: 1 comment
-
感谢,这个已经修复 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
User:#help banwords
[ERROR][2023-04-18 11:03:22][chat_channel.py:244] - Worker return exception: 'NoneType' object has no attribute 'desc'
Traceback (most recent call last):
File "/opt/rh/rh-python38/root/usr/lib64/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/chatgpt-on-wechat/channel/chat_channel.py", line 132, in _handle
reply = self._generate_reply(context)
File "/usr/local/chatgpt-on-wechat/channel/chat_channel.py", line 142, in _generate_reply
e_context = PluginManager().emit_event(EventContext(Event.ON_HANDLE_CONTEXT, {
File "/usr/local/chatgpt-on-wechat/plugins/plugin_manager.py", line 159, in emit_event
instance.handlers[e_context.event](e_context, *args, **kwargs)
File "/usr/local/chatgpt-on-wechat/plugins/godcmd/godcmd.py", line 230, in on_handle_context
ok, result = True, PluginManager().instances[name].get_help_text(isgroup=isgroup, isadmin=isadmin, verbose=True)
File "/usr/local/chatgpt-on-wechat/plugins/banwords/banwords.py", line 91, in get_help_text
return Banwords.desc
AttributeError: 'NoneType' object has no attribute 'desc'
Beta Was this translation helpful? Give feedback.
All reactions