comparison src/lib/Server.luan @ 17:74277b56ac3c

home page
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 01 Nov 2023 21:11:25 -0600
parents 552d6f944acb
children
comparison
equal deleted inserted replaced
16:552d6f944acb 17:74277b56ac3c
83 local server = from_doc(doc) 83 local server = from_doc(doc)
84 servers[#servers+1] = server 84 servers[#servers+1] = server
85 end 85 end
86 return servers 86 return servers
87 end 87 end
88 Server.search = search
88 89
89 function Server.get_user_servers() 90 function Server.get_user_servers()
90 return search( "server_owner_discord_id:"..get_user() ) 91 return search( "server_owner_discord_id:"..get_user() )
91 end 92 end
92 93