diff --git a/src/main/java/net/Broken/webView/GeneralWebView.java b/src/main/java/net/Broken/webView/GeneralWebView.java index efe46cc..1273fc3 100644 --- a/src/main/java/net/Broken/webView/GeneralWebView.java +++ b/src/main/java/net/Broken/webView/GeneralWebView.java @@ -53,6 +53,8 @@ public class GeneralWebView { model.addAttribute("isLogged", false); model.addAttribute("guild_name", ""); model.addAttribute("isAdmin", false); + model.addAttribute("inviteLink", "https://discordapp.com/oauth2/authorize?client_id=" + MainBot.jda.getSelfUser().getId() + "&scope=bot&permissions=8"); + return CheckPage.getPageIfReady("index"); } diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 2c419b4..d63bd41 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -35,11 +35,23 @@
-
+
+
+ +
+
+ +
-
+
+
+
+ Add me to you'r server ! + Invite me ! +
+

Hello you !

@@ -68,13 +80,19 @@
-
+

Home Page Comming soon!

+
+
+ Add me to you'r server ! + Invite me ! +
+
-
+