diff --git a/lists/referral_domains.txt b/lists/referral_domains.txt
index 7cf061e..76493eb 100644
--- a/lists/referral_domains.txt
+++ b/lists/referral_domains.txt
@@ -109,10 +109,23 @@
outbuck.com
// Scams
+alex-nv.ru
+alexandrnav.ru
+alexandrs1.ru
amazingsexdating.com
+clooud9.xyz
+cloud9team.fun
+cloud9team.space
+cloudteam9.com
+cloudteam9.fun
+cs-moneiy.us
+csgocyber.ru
csgocyber.ru
easter-event.com
+ezence.ink
ezrobux.gg
+fnaticprize.site
+fnaticwin.xyz
fortnite.cards
fortnite.events
fortnite-christmas.com
@@ -122,28 +135,107 @@
fortnite-vbuck.com
fortnite-vbucks.de
fortnite-vbucks.net
+fortnite.cards
+fortnite.events
fortnitevb.com
free-gg.com
free-steam-code.com
+gams-toph.xyz
giveawaybot.pw
+intimki.com
+katowice.ru
+keymagic.me
libra-sale.io
+lootweapons.com
+magicstreek.me
myetherermwallet.com
+natus-vincerygivez.xyz
+navi.auction
+new-give.com
+nv-box.com
+nv-drop.com
+operation-broken.xyz
oprewards.com
rbxfree.com
roblox-christmas.com
robloxsummer.com
+rocketcase.xyz
+roll-case.com
+rollskin.ru
+rustgift.ru
+seamcommunlty.com
+seamcommunty.com
+sleamcomnnunity.me
+sleamconnunnity.me
+sleamcormunity.me
+sreancommuniity.com
+staemcommeuneuity.ru
+staerncomrmunity.com
+steaamcomnnunity.com
+steaimeecommuniity.com
steam-event.com
steam-gift-codes.com
steam-money.org
+steam-promo-page.ml
steam-wallet-rewards.com
+steamcannunlty.com
+steamcommanitty.ru
+steamcomminiity.site
+steamcommnnunnity.world
+steamcommnunty.com
+steamcommunity-com.xyz
+steamcommunniitly.ru
+steamcommunyru.com
+steamcommunyti.ru
+steamcommunytu.ru
+steamcomnuniity.ru
+steamcomrnuniuty.com
+steamcomrrnunity.com
+steamcomunity.ru
+steamconnunjty.com
+steamcornmuniti.xyz
+steammcomunity.ru
+steamncomnmunity.com
+steamprofiles.site
steampromote.com
steamquests.com
steamreward.com
steamspecial.com
steamsummer.com
+steamtradeoffer.ml
+steancommuinity.me
+steancommutitly.ru
+steancomunnity.com
+steancomunnity.ru
+steancoommunlty.ru
+steanncomunitly.com
+steannconnnnunity.com
+stearmcommunitty.ru
+stearmcommunity.ru
+stearmcommunnitty.ru
+stearmcommunnity.ru
+steemcommunnity.ru
+stermccommunitty.ru
+stermcommuniity.com
+sterrmccommunity.ru
+stleamconnunlty-tyztradeoffernewpartnhr15902271.xyz
+streamcommuniuity.com
streamcommunnitly.com
+streamcomnunely.com
+streancommunitiy.icu
streancommunuty.ru
+strearmcomunity.ru
+toom-skins.xyz
+topr-games.xyz
+topw-gamez.xyz
+topz-games.xyz
+trade-offers.me
whatsappx.com
+wild-day.com
+winfnatic.pro
+wowcloud9.com
+wowfnatic.com
+wowfnatic.site
// Deceptive Unicode Links
getlâ…°bra.tech
diff --git a/pom.xml b/pom.xml
index 2156cbd..34be384 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
net.dv8tion
JDA
- 4.2.1_265
+ 4.3.0_293
com.jagrosh
diff --git a/src/main/java/com/jagrosh/vortex/Vortex.java b/src/main/java/com/jagrosh/vortex/Vortex.java
index 5ec442b..f6825f6 100644
--- a/src/main/java/com/jagrosh/vortex/Vortex.java
+++ b/src/main/java/com/jagrosh/vortex/Vortex.java
@@ -275,6 +275,7 @@
database.automod.setResolveUrls(gid, false);
database.settings.setAvatarLogChannel(gid, null);
database.settings.setVoiceLogChannel(gid, null);
+ database.settings.setServerLogChannel(gid, null);
database.filters.deleteAllFilters(gid);
for(int i = 0; i < shards.size() - 1; i++)
{
diff --git a/src/main/java/com/jagrosh/vortex/database/managers/GuildSettingsDataManager.java b/src/main/java/com/jagrosh/vortex/database/managers/GuildSettingsDataManager.java
index e0211cd..3b52590 100644
--- a/src/main/java/com/jagrosh/vortex/database/managers/GuildSettingsDataManager.java
+++ b/src/main/java/com/jagrosh/vortex/database/managers/GuildSettingsDataManager.java
@@ -29,7 +29,6 @@
import java.time.zone.ZoneRulesException;
import java.util.Collection;
import java.util.Collections;
-import java.util.List;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.Guild.VerificationLevel;
import net.dv8tion.jda.api.entities.MessageEmbed.Field;
@@ -149,8 +148,13 @@
public void setServerLogChannel(Guild guild, TextChannel tc)
{
- invalidateCache(guild);
- readWrite(select(GUILD_ID.is(guild.getIdLong()), GUILD_ID, SERVERLOG_ID), rs ->
+ setServerLogChannel(guild.getIdLong(), tc);
+ }
+
+ public void setServerLogChannel(long guildId, TextChannel tc)
+ {
+ invalidateCache(guildId);
+ readWrite(select(GUILD_ID.is(guildId), GUILD_ID, SERVERLOG_ID), rs ->
{
if(rs.next())
{
@@ -160,7 +164,7 @@
else
{
rs.moveToInsertRow();
- GUILD_ID.updateValue(rs, guild.getIdLong());
+ GUILD_ID.updateValue(rs, guildId);
SERVERLOG_ID.updateValue(rs, tc==null ? 0L : tc.getIdLong());
rs.insertRow();
}