diff --git a/pom.xml b/pom.xml
index 3103f4e..0845923 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
net.dv8tion
JDA
- 3.6.0_373
+ 3.6.0_375
com.jagrosh
diff --git a/src/main/java/com/jagrosh/vortex/Vortex.java b/src/main/java/com/jagrosh/vortex/Vortex.java
index ee02127..576db8b 100644
--- a/src/main/java/com/jagrosh/vortex/Vortex.java
+++ b/src/main/java/com/jagrosh/vortex/Vortex.java
@@ -193,6 +193,7 @@
threadpool.scheduleWithFixedDelay(() -> cleanPremium(), 0, 2, TimeUnit.HOURS);
threadpool.scheduleWithFixedDelay(() -> leavePointlessGuilds(), 5, 30, TimeUnit.MINUTES);
+ threadpool.scheduleWithFixedDelay(() -> System.gc(), 12, 6, TimeUnit.HOURS);
}
public EventWaiter getEventWaiter()
@@ -266,7 +267,7 @@
if(!g.isAvailable())
return false;
int botcount = (int)g.getMembers().stream().filter(m -> m.getUser().isBot()).count();
- if(g.getMembers().size()-botcount<3 || (botcount>20 && ((double)botcount/g.getMembers().size())>0.65))
+ if(g.getMembers().size()-botcount<5 || (botcount>20 && ((double)botcount/g.getMembers().size())>0.65))
{
if(database.settings.hasSettings(g))
return false;
diff --git a/src/main/java/com/jagrosh/vortex/commands/general/InviteCmd.java b/src/main/java/com/jagrosh/vortex/commands/general/InviteCmd.java
index 23dcf47..4a3e074 100644
--- a/src/main/java/com/jagrosh/vortex/commands/general/InviteCmd.java
+++ b/src/main/java/com/jagrosh/vortex/commands/general/InviteCmd.java
@@ -35,8 +35,8 @@
@Override
protected void execute(CommandEvent event) {
event.reply("Hello. I am **"+event.getJDA().getSelfUser().getName()+"**, a simple moderation bot built by **jagrosh**#4824."
- + "\nYou can add me to your server with the link below:"
- + "\n\n\uD83D\uDD17 **<"+Constants.BOT_INVITE+">**"
+ + "\nYou can find out how to add me to your server with the link below:"
+ + "\n\n\uD83D\uDD17 **<"+Constants.Wiki.WIKI_BASE+">**"
+ "\n\nFor assistance, check out the wiki: <"+Constants.Wiki.WIKI_BASE+">");
}