diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 3b328af..74c732e 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,12 @@
-
+
+
+
+
+
+
@@ -65,7 +70,7 @@
"project.structure.last.edited": "Modules",
"project.structure.proportion": "0.0",
"project.structure.side.proportion": "0.0",
- "settings.editor.selected.configurable": "reference.settings.ide.settings.new.ui"
+ "settings.editor.selected.configurable": "preferences.pluginManager"
}
}
@@ -109,13 +114,6 @@
1680245437032
-
- 1682169510400
-
-
-
- 1682169510400
-
1682169836895
@@ -452,7 +450,14 @@
1682910530242
-
+
+ 1682923541155
+
+
+
+ 1682923541156
+
+
@@ -467,7 +472,6 @@
-
@@ -492,7 +496,8 @@
-
+
+
diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java
index e67c748..206973a 100644
--- a/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java
+++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java
@@ -44,6 +44,7 @@ public class Configuration {
@Getter public EmbedColors embedColors = new EmbedColors();
@Getter public String trustedRoleName = "Trusted";
@Getter public String adminRoleName = "Admin";
+ @Getter public String statusMessage = "Gay Sex";
}
public static class EmbedColors {
diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java
index d8f60db..ff6931a 100644
--- a/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java
+++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java
@@ -3,6 +3,7 @@ package land.chipmunk.chayapak.chomens_bot;
import land.chipmunk.chayapak.chomens_bot.plugins.ConsolePlugin;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder;
+import net.dv8tion.jda.api.entities.Activity;
import org.yaml.snakeyaml.Yaml;
import org.yaml.snakeyaml.constructor.Constructor;
@@ -63,6 +64,7 @@ public class Main {
} catch (InterruptedException ignored) {
System.exit(1);
}
+ jda.getPresence().setPresence(Activity.playing(config.discord().statusMessage()), false); // what does `b` do? kinda sus,..,
for (Configuration.BotOption botOption : botsOptions) {
final Bot bot = new Bot(botOption, bots, config);
diff --git a/src/main/resources/default-config.yml b/src/main/resources/default-config.yml
index 495a0b3..1ad763c 100644
--- a/src/main/resources/default-config.yml
+++ b/src/main/resources/default-config.yml
@@ -18,6 +18,7 @@ discord:
token: 'token here'
trustedRoleName: 'Trusted'
adminRoleName: 'Admin' # NOTE: admin will be able to access servereval..
+ statusMessage: 'Gay Sex'
servers:
localhost:25565: 'channel id'