discord: add Region AreaType

This commit is contained in:
Broooklyn
2020-08-16 01:36:30 -04:00
committed by Jordan Atwood
parent 6750557eba
commit 5d30ffd813
3 changed files with 14 additions and 1 deletions

View File

@@ -30,5 +30,6 @@ enum DiscordAreaType
CITIES,
DUNGEONS,
MINIGAMES,
RAIDS
RAIDS,
REGIONS
}

View File

@@ -120,4 +120,15 @@ public interface DiscordConfig extends Config
{
return true;
}
@ConfigItem(
keyName = "showRegionsActivity",
name = "Regions",
description = "Show your activity and location while in other regions",
position = 9
)
default boolean showRegionsActivity()
{
return true;
}
}

View File

@@ -436,6 +436,7 @@ public class DiscordPlugin extends Plugin
case CITIES: return config.showCityActivity();
case DUNGEONS: return config.showDungeonActivity();
case MINIGAMES: return config.showMinigameActivity();
case REGIONS: return config.showRegionsActivity();
}
return false;