fart !!!!

This commit is contained in:
Chayapak 2023-04-22 18:56:04 +07:00
parent 9956d3673a
commit 80d8be7ebe
3 changed files with 47 additions and 43 deletions

View file

@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="EntryPointsManager">
<writeAnnotations>
<writeAnnotation name="lombok.Getter" />
</writeAnnotations>
</component>
<component name="ExternalStorageConfigurationManager" enabled="true" /> <component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager"> <component name="MavenProjectsManager">
<option name="originalFiles"> <option name="originalFiles">

View file

@ -4,9 +4,7 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="readme i guess"> <list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="make better console logging like the old js chomens bot" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -43,19 +41,19 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent">{ <component name="PropertiesComponent"><![CDATA[{
&quot;keyToString&quot;: { "keyToString": {
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;, "RunOnceActivity.OpenProjectViewOnStart": "true",
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;, "RunOnceActivity.ShowReadmeOnStart": "true",
&quot;git-widget-placeholder&quot;: &quot;master&quot;, "git-widget-placeholder": "master",
&quot;jdk.selected.JAVA_MODULE&quot;: &quot;17&quot;, "jdk.selected.JAVA_MODULE": "17",
&quot;last_opened_file_path&quot;: &quot;/home/chayapak1/IdeaProjects/chomens-bot-java&quot;, "last_opened_file_path": "/home/chayapak1/IdeaProjects/chomens-bot-java",
&quot;project.structure.last.edited&quot;: &quot;Modules&quot;, "project.structure.last.edited": "Modules",
&quot;project.structure.proportion&quot;: &quot;0.0&quot;, "project.structure.proportion": "0.0",
&quot;project.structure.side.proportion&quot;: &quot;0.0&quot;, "project.structure.side.proportion": "0.0",
&quot;settings.editor.selected.configurable&quot;: &quot;preferences.pluginManager&quot; "settings.editor.selected.configurable": "preferences.keymap"
} }
}</component> }]]></component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/.idea" /> <recent name="$PROJECT_DIR$/.idea" />
@ -97,27 +95,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1680245437032</updated> <updated>1680245437032</updated>
</task> </task>
<task id="LOCAL-00046" summary="among us 1000">
<created>1681199224918</created>
<option name="number" value="00046" />
<option name="presentableId" value="LOCAL-00046" />
<option name="project" value="LOCAL" />
<updated>1681199224918</updated>
</task>
<task id="LOCAL-00047" summary="Ooops">
<created>1681200589515</created>
<option name="number" value="00047" />
<option name="presentableId" value="LOCAL-00047" />
<option name="project" value="LOCAL" />
<updated>1681200589515</updated>
</task>
<task id="LOCAL-00048" summary="add speed">
<created>1681205431995</created>
<option name="number" value="00048" />
<option name="presentableId" value="LOCAL-00048" />
<option name="project" value="LOCAL" />
<updated>1681205431996</updated>
</task>
<task id="LOCAL-00049" summary="among"> <task id="LOCAL-00049" summary="among">
<created>1681287412000</created> <created>1681287412000</created>
<option name="number" value="00049" /> <option name="number" value="00049" />
@ -440,7 +417,28 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1682133205363</updated> <updated>1682133205363</updated>
</task> </task>
<option name="localTasksCounter" value="95" /> <task id="LOCAL-00095" summary="change a bit mabe">
<created>1682141185843</created>
<option name="number" value="00095" />
<option name="presentableId" value="LOCAL-00095" />
<option name="project" value="LOCAL" />
<updated>1682141185843</updated>
</task>
<task id="LOCAL-00096" summary="improve reconnect i guess">
<created>1682141715244</created>
<option name="number" value="00096" />
<option name="presentableId" value="LOCAL-00096" />
<option name="project" value="LOCAL" />
<updated>1682141715244</updated>
</task>
<task id="LOCAL-00097" summary="make better console logging like the old js chomens bot">
<created>1682142828982</created>
<option name="number" value="00097" />
<option name="presentableId" value="LOCAL-00097" />
<option name="project" value="LOCAL" />
<updated>1682142828982</updated>
</task>
<option name="localTasksCounter" value="98" />
<servers /> <servers />
</component> </component>
<component name="Vcs.Log.Tabs.Properties"> <component name="Vcs.Log.Tabs.Properties">
@ -455,9 +453,6 @@
</option> </option>
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value="add among us to the position plugin (useful af)&#10;yes it is SOOOOOO good" />
<MESSAGE value="improve rtp" />
<MESSAGE value="forgor that i used displayname" />
<MESSAGE value="i forgor to remove the code i copied from my chipmunkbot fork" /> <MESSAGE value="i forgor to remove the code i copied from my chipmunkbot fork" />
<MESSAGE value="probably fix greplog but more mess,...." /> <MESSAGE value="probably fix greplog but more mess,...." />
<MESSAGE value="this is why you should test the code before commiting" /> <MESSAGE value="this is why you should test the code before commiting" />
@ -480,7 +475,10 @@
<MESSAGE value="fard" /> <MESSAGE value="fard" />
<MESSAGE value="fard 2" /> <MESSAGE value="fard 2" />
<MESSAGE value="readme i guess" /> <MESSAGE value="readme i guess" />
<option name="LAST_COMMIT_MESSAGE" value="readme i guess" /> <MESSAGE value="change a bit mabe" />
<MESSAGE value="improve reconnect i guess" />
<MESSAGE value="make better console logging like the old js chomens bot" />
<option name="LAST_COMMIT_MESSAGE" value="make better console logging like the old js chomens bot" />
</component> </component>
<component name="XSLT-Support.FileAssociations.UIState"> <component name="XSLT-Support.FileAssociations.UIState">
<expand /> <expand />

View file

@ -132,12 +132,13 @@ public class MusicPlayerPlugin extends SessionAdapter {
handlePlaying(); handlePlaying();
if (currentSong.finished()) { if (currentSong.finished()) {
bot.chat().tellraw(Component.translatable("Finished playing %s", Component.empty().append(currentSong.name).color(NamedTextColor.GOLD)));
if (loop == Loop.CURRENT) { if (loop == Loop.CURRENT) {
currentSong.setTime(0); currentSong.setTime(0);
return; return;
} }
bot.chat().tellraw(Component.translatable("Finished playing %s", Component.empty().append(currentSong.name).color(NamedTextColor.GOLD)));
if (loop == Loop.ALL) { if (loop == Loop.ALL) {
skip(); skip();
return; return;