Mercurial Hosting > disearch
diff src/add_server.js.luan @ 16:552d6f944acb
add bump
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 01 Nov 2023 17:34:15 -0600 |
parents | af2b95854072 |
children |
line wrap: on
line diff
--- a/src/add_server.js.luan Wed Nov 01 00:12:08 2023 -0600 +++ b/src/add_server.js.luan Wed Nov 01 17:34:15 2023 -0600 @@ -2,6 +2,8 @@ local error = Luan.error local String = require "luan:String.luan" local regex = String.regex or error() +local Time = require "luan:Time.luan" +local time_now = Time.now or error() local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local Shared = require "site:/lib/Shared.luan" @@ -34,6 +36,7 @@ local server = Server.new{ owner_discord_id = get_user() or error() discord_id = id + bumped = time_now() name = name icon = icon invite = invite