Add gay sex

This commit is contained in:
Chayapak 2023-05-02 14:12:48 +07:00
parent d58d292a44
commit ce42db9097
4 changed files with 21 additions and 12 deletions

View file

@ -4,7 +4,12 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="add global ticker&#10;the performance is the same its still using like 100 - 300 heap usage&#10;doesn't really do anyhting.,.,,.&#10;real" />
<list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="remove unknown command message">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/resources/default-config.yml" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/default-config.yml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -65,7 +70,7 @@
&quot;project.structure.last.edited&quot;: &quot;Modules&quot;,
&quot;project.structure.proportion&quot;: &quot;0.0&quot;,
&quot;project.structure.side.proportion&quot;: &quot;0.0&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;reference.settings.ide.settings.new.ui&quot;
&quot;settings.editor.selected.configurable&quot;: &quot;preferences.pluginManager&quot;
}
}</component>
<component name="RecentsManager">
@ -109,13 +114,6 @@
<option name="presentableId" value="Default" />
<updated>1680245437032</updated>
</task>
<task id="LOCAL-00102" summary="log exception for funni?">
<created>1682169510400</created>
<option name="number" value="00102" />
<option name="presentableId" value="LOCAL-00102" />
<option name="project" value="LOCAL" />
<updated>1682169510400</updated>
</task>
<task id="LOCAL-00103" summary="fart?!?!?!">
<created>1682169836895</created>
<option name="number" value="00103" />
@ -452,7 +450,14 @@
<option name="project" value="LOCAL" />
<updated>1682910530242</updated>
</task>
<option name="localTasksCounter" value="151" />
<task id="LOCAL-00151" summary="remove unknown command message">
<created>1682923541155</created>
<option name="number" value="00151" />
<option name="presentableId" value="LOCAL-00151" />
<option name="project" value="LOCAL" />
<updated>1682923541156</updated>
</task>
<option name="localTasksCounter" value="152" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -467,7 +472,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="chat queue delay in config" />
<MESSAGE value="new 1.19.4 update i guess" />
<MESSAGE value="bots mabe" />
<MESSAGE value="amogus" />
@ -492,7 +496,8 @@
<MESSAGE value="patch skiddie exploit" />
<MESSAGE value="add bot.profile() mabe" />
<MESSAGE value="add global ticker&#10;the performance is the same its still using like 100 - 300 heap usage&#10;doesn't really do anyhting.,.,,.&#10;real" />
<option name="LAST_COMMIT_MESSAGE" value="add global ticker&#10;the performance is the same its still using like 100 - 300 heap usage&#10;doesn't really do anyhting.,.,,.&#10;real" />
<MESSAGE value="remove unknown command message" />
<option name="LAST_COMMIT_MESSAGE" value="remove unknown command message" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>

View file

@ -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 {

View file

@ -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);

View file

@ -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'