started adding plugin system

This commit is contained in:
2024-04-14 20:03:57 +02:00
parent 36b8941eac
commit bc4ada155b
22 changed files with 180 additions and 40 deletions

View File

@@ -43,7 +43,7 @@
services.
</li>
<li>
Command usage: We store data about some commands that you use within
struct_cmd.Command usage: We store data about some commands that you use within
acecore in order to make the commands usable and functioning.
</li>
<li>

View File

@@ -41,10 +41,10 @@ func HostRoutes(botID string) {
http.Redirect(w, r, "https://discord.com/oauth2/authorize?client_id="+botID, http.StatusMovedPermanently)
})
http.HandleFunc("/privacy", func(w http.ResponseWriter, r *http.Request) {
handleHTML(w, privacyHTML, "./html/privacy.html")
handleHTML(w, privacyHTML, "html/privacy.html")
})
http.HandleFunc("/tos", func(w http.ResponseWriter, r *http.Request) {
handleHTML(w, tosHTML, "./html/tos.html")
handleHTML(w, tosHTML, "html/tos.html")
})
server := &http.Server{