Closed Nenot233 closed 1 year ago
刚想提issues你这就发了哈哈
由于GIF也会出现水印,导致无法正常发送GIF
到时候为GIF也添加一个适配,然后新增配置针对不同类型的图片选择性加水印(((
真糟糕,因为不能在on_calling_api钩子函数里面获取调用api的插件信息(ddl:调用api行为和插件无关),所以这个插件目前只能无差别攻击 总之我还是先把GIF适配整了
再咕一个星期,获得调用API的插件信息的方法已经知道了(current_matcher),完工在望
base64padding的问题解决了(
话说能对特定插件排除水印吗,我超分图片,出来的图带水印,就很怪((((
话说能对特定插件排除水印吗,我超分图片,出来的图带水印,就很怪((((
(可以用的版本已经传上GitHub了,但是pip的版本还没有上传,准备和GIF适配一起做了在弄到pip上)
好,让我git pull
watermark_image_exculed_plugin = [extensive_plugin.plugins.super_resolution]这样设置了还是不行
watermark_image_exculed_plugin = [extensive_plugin.plugins.super_resolution]这样设置了还是不行
给插件名称加双引号,这个里面其实是一个列表里面用字符串代表插件名称 如:
watermark_image_exculed_plugin = ["extensive_plugin.plugins.super_resolution","其他插件名称"]
watermark_image_exculed_plugin = [extensive_plugin.plugins.super_resolution]这样设置了还是不行
给插件名称加双引号,这个里面其实是一个列表里面用字符串代表插件名称 如:
watermark_image_exculed_plugin = ["extensive_plugin.plugins.super_resolution","其他插件名称"]
还是不行,我看看真寻手册先
watermark_image_exculed_plugin = [extensive_plugin.plugins.super_resolution]这样设置了还是不行
给插件名称加双引号,这个里面其实是一个列表里面用字符串代表插件名称 如:
watermark_image_exculed_plugin = ["extensive_plugin.plugins.super_resolution","其他插件名称"]
还是不行,我看看真寻手册先
那我找个机会弄个真寻bot在本地试试(
草,那我找个机会把真寻bot弄下来试试
速速做个真寻适配版(((
草,那我找个机会把真寻bot弄下来试试
速速做个真寻适配版(((
草,不想搭建数据库,你能不能给我看看你的真寻运行的debug日志什么的,我看看每个matcher名称是什么,这样好有针对性的修改
草,那我找个机会把真寻bot弄下来试试
速速做个真寻适配版(((
草,不想搭建数据库,你能不能给我看看你的真寻运行的debug日志什么的,我看看每个matcher名称是什么,这样好有针对性的修改
不知道为什么,我在.env.dev中设置DEBUG=True后后台还是正常的样子
唯一一次卡出来debu模式还是在装了拟声鸟那个插件的依赖后,但是我现在是python3.11,那个依赖要3.10
要不问问真寻bot群的群友们((
其实INFO也可以((
可以在INFO中看见
06-03 22:37:33 [INFO] nonebot | Matcher(type='message', module=extensive_plugin.nonebot_plugin_petpet) running complete
内有Matcher的一些信息,这个Matcher有跟随着插件的名字
module=extensive_plugin.nonebot_plugin_petpet
在配置项内填入
watermark_image_exculed_plugin = ["extensive_plugin.super_resolution","其他插件名称"]
即可成功((
接下来出什么大事估计得明天搞了**
其实INFO也可以((
可以在INFO中看见
06-03 22:37:33 [INFO] nonebot | Matcher(type='message', module=extensive_plugin.nonebot_plugin_petpet) running complete
内有Matcher的一些信息,这个Matcher有跟随着插件的名字
module=extensive_plugin.nonebot_plugin_petpet
在配置项内填入
watermark_image_exculed_plugin = ["extensive_plugin.super_resolution","其他插件名称"]
即可成功((
接下来出什么大事估计得明天搞了**
大概就是这样吧ba
虽然有报错,但是带上了水印()
实在不行我写个logINFO输出插件名称 然后根据这个插件名称去改
奇怪了,要不你直接改插件里的config.py? https://github.com/X-Skirt-X/nonebot-plugin-watermarker/blob/2376bf417abc8ce0bd2ce477b48b333183ba611c/nonebot_plugin_watermarker/config.py#L16 往这里加(?
你怎么知道我们真寻Bot玩家一般都是直接改config.py的(bushi,在加了,重启中
加了后还是不行
后台截图
试试GitHub版本,然后再看日志(等我push上来((
现在再看看(?
看看你的config.py(感觉应该没问题啊*
感觉没问题啊,诡异啊,我自己这里都能用的
看起来有点像中文逗号
看起来有点像中文逗号
不可能,我这用英文引号自动补全的,要是中文直接报错
看起来有点像中文逗号
不可能,我这用英文引号自动补全的,要是中文直接报错
问题解决了吗?没有解决的话咱QQ上继续吧,这里不太好搞,你可以把QQ号发到我邮箱()
看起来有点像中文逗号
不可能,我这用英文引号自动补全的,要是中文直接报错
问题解决了吗?没有解决的话咱QQ上继续吧,这里不太好搞,你可以把QQ号发到我邮箱()
我不知道你邮箱啊
看起来有点像中文逗号
不可能,我这用英文引号自动补全的,要是中文直接报错
问题解决了吗?没有解决的话咱QQ上继续吧,这里不太好搞,你可以把QQ号发到我邮箱()
我不知道你邮箱啊
GitHub上有啊() Woyerpa@outlook.com
看起来有点像中文逗号
不可能,我这用英文引号自动补全的,要是中文直接报错
问题解决了吗?没有解决的话咱QQ上继续吧,这里不太好搞,你可以把QQ号发到我邮箱()
我不知道你邮箱啊
GitHub上有啊() Woyerpa@outlook.com
发你了
理论上这个问题已经被解决,关issue咯。
由于GIF也会出现水印,导致无法正常发送GIF