discord_embed: Fix when updating old discord links, it updates the input as well
Some checks failed
/ deploy (push) Failing after 1m4s
Some checks failed
/ deploy (push) Failing after 1m4s
This commit is contained in:
parent
86eff6d033
commit
7a6eb69d9d
3 changed files with 3 additions and 3 deletions
|
@ -170,7 +170,7 @@ Redirecting
|
|||
old: videoLink,
|
||||
new: newLink,
|
||||
}, 'Updating link')
|
||||
videoLink = newLink
|
||||
videoLink = ctx.state.video = newLink
|
||||
await ctx.db.safeCallProc('discord_embed.link_update', [id - 3843, videoLink])
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "discord_embed",
|
||||
"version": "1.0.27",
|
||||
"version": "1.0.28",
|
||||
"port": 4120,
|
||||
"description": "AV1 discord server embed helper",
|
||||
"main": "index.js",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Discord Embedder from AV1 server 1.0.25</title>
|
||||
<title>Discord Embedder from AV1 server 1.0.28</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ if (imageLink) { }}
|
||||
|
|
Loading…
Reference in a new issue