bot-myrtus / forward

Provides a message forwarding feature.
GNU Affero General Public License v3.0
36 stars 5 forks source link

功能请求:支持监听所有的频道,支持过滤selfId #18

Closed 9cats closed 10 months ago

9cats commented 10 months ago

我想让两个不同的邮箱的邮件转发到 telegram 上,但是在 adapter-mail 上,不同发送者的 channelIdguildId 都不一样,在配置时被困惑。 希望在配置项中的 channelIdguildId 能用 * 来表示监听全部,另外希望添加selfId的过滤支持,更好区分不同的实例。

9cats commented 10 months ago

应该可以这样实现,不过还没有尝试过。 https://github.com/9cats/myrtus/commit/9118a20de8ee9a8a784460acf30aa089005bba0c

idranme commented 10 months ago

~~「另外希望添加selfId的过滤支持」 能具体描述一下吗~~

大概懂了

idranme commented 10 months ago

已在 3.7.0 实装