如何扩展 Direct Connect 客户端与聊天相关的功能?有什么办法可以让 pyDC 工作吗?
我需要编写代码来在中心聊天中看到特定消息时进行回复。 我尝试使用 PyDC 但无法让它工作,出现一些问题,因为它需要旧的 wxpython 库或其他东西。命令
行可以工作,但据我所知不支持聊天。 GUI 尝试从 wx.lib.PyCrust 导入 shell,但 PyCrust 已重命名为 wx.py。我尝试从 wx.py 导入 shell,然后 GUI 启动,但无法连接到任何集线器。命令行一连接正常。 还有其他方法可以做我想做的事吗?
I need to write code to reply when a particular message is seen in the hub chat.
I tried using PyDC but was not able to get it to work, some problem because it expects old wxpython libraries or something. T
he command line one works, but as far as I can see does not support chat. The GUI one tries to import shell from wx.lib.PyCrust
but PyCrust has been renamed to wx.py. I tried importing shell from wx.py then the GUI started but was unable to connect to any hub. The command line one connects fine.
Is there any other way I can do what I want?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Eiskalt DC++ QT 允许您在 QTScript 中编写脚本。我可以用它来做我需要的事情。
Eiskalt DC++ QT lets you write scripts in QTScript. I can use this to do what I need.