Commit Graph

8 Commits

Author SHA1 Message Date
Michaili K
7273b5bf42 Add single repeat (#359)
* Add single repeat mode

* Toggle between NONE and REPEAT modes when no argument has been given

* Allow single as repeat mode

* Add one to the arguments

* Add backwards comparability for old versions of MusicBot.

* Use JSONObject#getEnum for parsing repeat mode

* Rename repeat modes & fix repeat one not repeating properly

* Add copyright notice & author to RepeatMode

* Fix spacing in SettingsManager

* Rename REPEAT_ONE to One in RepeatMode

* Rename repeat to repeat_mode

* Use variable on track end in AudioHandler & update RepeatMode & its usages

* Use user friendly name in RepeatCmd

* Remove unused constants

* Fix spacing in SettingsManager

* Rename repeat modes to off/all/single respectively
2021-09-27 19:51:57 +02:00
John Grosh
51f9024498 first iteration of handling new gateway 2020-10-27 05:57:05 -04:00
John Grosh
ae8b5cfe90 first pass of per-server prefixes 2019-11-09 20:22:53 -05:00
MichailiK
0b4c6c9af1 Use Bot#getConfig() instead of using a public static config & Add missing newline 2019-10-25 19:48:41 +02:00
MichailiK
7192d55732 Add configurable aliases for all commands 2019-10-25 17:51:56 +02:00
John Grosh
1a9364acae code cleanup and deps update 2019-01-13 15:06:26 -05:00
John Grosh
c0f0d45138 code cleanup 2018-12-04 23:37:45 -05:00
John Grosh
aaec886b81 massive organization overhaul
dependency updates
config overhaul
2018-11-21 05:31:03 -05:00