Parent Directory
|
Revision Log
|
Patch
revision 9 by rakin, Mon Jul 29 17:28:11 2024 UTC | revision 10 by rakin, Mon Jul 29 17:28:12 2024 UTC | |
---|---|---|
# | Line 16 async function image(msg, cm, type) { | Line 16 async function image(msg, cm, type) { |
16 | if (cm.args[1] !== undefined) { | if (cm.args[1] !== undefined) { |
17 | let args = [...cm.args]; | let args = [...cm.args]; |
18 | args.shift(); | args.shift(); |
19 | genurl += `&q=${args.join(' ')}`; | genurl += `&q=${escape(args.join(' '))}`; |
20 | } | } |
21 | ||
console.log(genurl); | ||
22 | axios.get(genurl) | axios.get(genurl) |
23 | .then(res => { | .then(res => { |
24 | if (res && res.status === 200) { | if (res && res.status === 200) { |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |