-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
追加功能 #175
追加功能 #175
Conversation
niceRAM
commented
May 15, 2021
- 允许通过临时会话私聊发送搜图结果
- 可配置 r18 setu 图片仅通过私聊发送
- 允许 r18 setu 通过临时会话私聊发送
- 发送 setu 链接时可以追加若干个镜像链接
- 可配置对镜像站做短链接处理,并增加一个短链接服务 ("oy.mk" by @Quan666)
@@ -7,7 +7,7 @@ const Axios = require('../axiosProxy'); | |||
* @param {string} url 长网址 | |||
* @returns 短网址 | |||
*/ | |||
function shorten(url) { | |||
async function shorten(url) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这种多余的 async 不用写了吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我这里测试的时候不加async,setu.js里await调用会报错,以防万一就加上了
return; | ||
} | ||
if (privateR18) { | ||
urlMsg += "\r\n※ R18图片将反和谐后私聊发送"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
私聊不会被和谐,就不需要反和谐了,可以节省下步骤
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
了解了,之后考虑处理下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没事,我只是提一下,我已经处理了(
感谢 pr |
config 做了下改动 |