/*
 * Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice, this
 *    list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package net.runelite.client.plugins.discord;

import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.Units;

@ConfigGroup("discord")
public interface DiscordConfig extends Config
{
	@ConfigItem(
		keyName = "actionTimeout",
		name = "Action timeout",
		description = "Configures after how long of not updating status will be reset (in minutes)",
		position = 1
	)
	@Units(Units.MINUTES)
	default int actionTimeout()
	{
		return 5;
	}

	@ConfigItem(
		keyName = "hideElapsedTime",
		name = "Hide elapsed time",
		description = "Configures if the elapsed time of your activity should be hidden.",
		position = 2
	)
	default boolean hideElapsedTime()
	{
		return false;
	}

	@ConfigItem(
		keyName = "showSkillActivity",
		name = "Show activity while skilling",
		description = "Configures if your activity while training skills should be shown.",
		position = 3
	)
	default boolean showSkillingActivity()
	{
		return true;
	}

	@ConfigItem(
		keyName = "showBossActivity",
		name = "Show activity at bosses",
		description = "Configures if your activity at bosses should be shown.",
		position = 4
	)
	default boolean showBossActivity()
	{
		return true;
	}

	@ConfigItem(
		keyName = "showCityActivity",
		name = "Show activity at cities",
		description = "Configures if your activity at cities should be shown.",
		position = 5
	)
	default boolean showCityActivity()
	{
		return true;
	}

	@ConfigItem(
		keyName = "showDungeonActivity",
		name = "Show activity at dungeons",
		description = "Configures if your activity at dungeons should be shown.",
		position = 6
	)
	default boolean showDungeonActivity()
	{
		return true;
	}

	@ConfigItem(
		keyName = "showMinigameActivity",
		name = "Show activity at minigames",
		description = "Configures if your activity at minigames should be shown.",
		position = 7
	)
	default boolean showMinigameActivity()
	{
		return true;
	}

	@ConfigItem(
		keyName = "showRaidingActivity",
		name = "Show activity at raids",
		description = "Configures if your activity at raids should be shown.",
		position = 8
	)
	default boolean showRaidingActivity()
	{
		return true;
	}
}

@@ -2230,28 +2230,8 @@
 = %22S
-how activity while s
 kill
@@ -2249,37 +2249,28 @@
 cription = %22
-Configures if
+Show
  your activi
@@ -2293,33 +2293,16 @@
 g skills
- should be shown.
 %22,%0A%09%09pos
@@ -2436,26 +2436,9 @@
  = %22
-Show activity at b
+B
 osse
@@ -2454,37 +2454,28 @@
 cription = %22
-Configures if
+Show
  your activi
@@ -2482,33 +2482,35 @@
 ty a
-t bosses should be shown.
+nd location while at bosses
 %22,%0A%09
@@ -2644,26 +2644,9 @@
  = %22
-Show activity at c
+C
 itie
@@ -2662,37 +2662,28 @@
 cription = %22
-Configures if
+Show
  your activi
@@ -2690,33 +2690,35 @@
 ty a
-t cities should be shown.
+nd location while in cities
 %22,%0A%09
@@ -2855,26 +2855,9 @@
  = %22
-Show activity at d
+D
 unge
@@ -2875,37 +2875,28 @@
 cription = %22
-Configures if
+Show
  your activi
@@ -2903,35 +2903,37 @@
 ty a
-t dungeons should be shown.
+nd location while in dungeons
 %22,%0A%09
@@ -3074,26 +3074,9 @@
  = %22
-Show activity at m
+M
 inig
@@ -3095,37 +3095,28 @@
 cription = %22
-Configures if
+Show
  your activi
@@ -3123,36 +3123,38 @@
 ty a
-t minigames should be shown.
+nd location while in minigames
 %22,%0A%09
@@ -3295,26 +3295,9 @@
  = %22
-Show activity at r
+R
 aids
@@ -3316,29 +3316,20 @@
 tion = %22
-Configures if
+Show
  your ac
@@ -3340,32 +3340,34 @@
 ty a
-t raids should be shown.
+nd location while in Raids
 %22,%0A%09

update config names and descriptions