Commit Graph

337 Commits

Author SHA1 Message Date
Christer Warén
13ae6c2716 Update next command 2021-09-11 17:15:04 +03:00
Christer Warén
645ea3e197 Update prev command 2021-09-11 17:14:55 +03:00
Christer Warén
fcf6f15be9 Update ready event 2021-09-11 17:14:43 +03:00
Christer Warén
3d066435b4 Update SIGINT event 2021-09-11 17:14:21 +03:00
Christer Warén
26eda76b23 Update saveRadios function 2021-09-11 17:14:02 +03:00
Christer Warén
05905e6e6d Update restoreRadios function 2021-09-11 17:13:47 +03:00
Christer Warén
1533ae46a4 Update voiceStateUpdate event 2021-09-11 17:12:53 +03:00
Christer Warén
8bf79c2744 Create Streamer class 2021-09-11 17:10:50 +03:00
Christer Warén
45923319a6 Create Radio class 2021-09-11 17:10:37 +03:00
Christer Warén
24eaf3a7e2 Update ready.js 2021-09-10 23:41:48 +03:00
Christer Warén
57f63c3838 Move Datastore class to src/client/classes folder 2021-09-10 23:25:48 +03:00
Christer Warén
0b8fb4977c Update maintenance command 2021-09-10 03:17:22 +03:00
Christer Warén
a5eec44b8e Fix maintenance command 2021-09-10 03:13:40 +03:00
Christer Warén
3978f19b2e Fix typo in uncaughtException event 2021-09-10 01:54:30 +03:00
Christer Warén
fee833d231 Update warning event 2021-09-10 01:43:53 +03:00
Christer Warén
6541287dec Update uncaughtException event 2021-09-10 01:43:21 +03:00
Christer Warén
3b5c241872 Update ready.js 2021-09-09 18:55:33 +03:00
Christer Warén
44a708548f Update maintenance command 2021-09-09 18:55:18 +03:00
Christer Warén
526bb7736a Update list command 2021-09-09 18:54:23 +03:00
Christer Warén
22c0544d09 Add maintenance mode check in play command 2021-09-09 18:53:46 +03:00
Christer Warén
9c3748ad7c Add maintenance mode to check function 2021-09-09 18:53:24 +03:00
Christer Warén
3807ae89a0 Add maintenance message in messages.js 2021-09-09 18:52:50 +03:00
Christer Warén
9e2be295c3 Update stop command 2021-09-09 18:52:25 +03:00
Christer Warén
e08c20aa3d Merge branch 'develop' into fix-33 2021-09-09 13:03:46 +03:00
Christer Warén
13814afebc Formatting changes 2021-09-09 12:44:50 +03:00
Christer Warén
1bb8d8d801 Updated SIGINT event 2021-09-09 12:05:52 +03:00
Christer Warén
90a93d35f7 Removed comments in maintenance.js 2021-09-09 12:05:15 +03:00
Christer Warén
ac323a5410 Temporary solution 2021-09-08 01:39:35 +03:00
Christer Warén
5cd3912ff5 Merge branch 'master' into fix-33 2021-09-07 15:47:24 +03:00
Christer Warén
d0c10018f3 Updated messageCreate event 2021-09-07 15:36:33 +03:00
Christer Warén
34abb66086 Merge branch 'master' into fix-33 2021-09-06 22:49:37 +03:00
Christer Warén
ab950352fa Added uncaughtException event 2021-09-06 22:35:49 +03:00
Christer Warén
984e8aab76 Fixed prev command 2021-09-06 22:35:21 +03:00
Christer Warén
cc8b44db9b Fixed next command 2021-09-06 22:35:14 +03:00
Christer Warén
1371a83e90 Removed permissions property from commands 2021-09-06 21:56:19 +03:00
Christer Warén
33e4a416a9 Updated saveRadios function 2021-09-06 21:46:59 +03:00
Christer Warén
5bf4bd9a1c Updated maintenance command 2021-09-06 21:45:13 +03:00
Christer Warén
4edfe6848c Updated SIGINT event 2021-09-06 21:44:59 +03:00
Christer Warén
884233a938 Updated SIGTERM event 2021-09-06 21:44:45 +03:00
Christer Warén
3ac284e237 Updated maintenance command 2021-09-06 20:42:14 +03:00
Christer Warén
d1fe9177af Updated play.js 2021-09-06 19:43:28 +03:00
Christer Warén
8316723a6a Added reload stations option in maintenance command 2021-09-06 19:43:14 +03:00
Christer Warén
f9ce2bfaf9 Updated play command 2021-09-06 19:10:15 +03:00
Christer Warén
a9857cb34b Updated play function 2021-09-06 19:09:34 +03:00
Christer Warén
894a1d82f5 Updated play command 2021-09-06 18:38:46 +03:00
Christer Warén
f9d195788c Changed interaction replies to ephemeral in commands 2021-09-06 14:42:49 +03:00
Christer Warén
c5d04aed3c Merge branch 'master' into fix-33 2021-09-06 05:46:49 +03:00
Christer Warén
aa715aaafa Updated play command 2021-09-06 05:22:20 +03:00
Christer Warén
9303dd1c19 Fixed maintenance command 2021-09-06 05:11:49 +03:00
Christer Warén
9a5075f27e Updated ready event 2021-09-06 04:22:47 +03:00
Christer Warén
60ef1cd138 Added saveRadios function & imported funcs in Client.ts 2021-09-06 04:22:35 +03:00
Christer Warén
235a02ca60 Updated maintenance command 2021-09-06 04:21:50 +03:00
Christer Warén
05852b99d4 Updated SIGINT event 2021-09-06 04:20:08 +03:00
Christer Warén
01730cd08b Moved restoreRadios function to funcs folder 2021-09-06 04:18:55 +03:00
Christer Warén
6335a4617f Show errors except DiscordAPIError[50001] in commands.js 2021-09-06 01:19:09 +03:00
Christer Warén
552d3c81f9 Updated listStations function 2021-09-06 00:52:35 +03:00
Christer Warén
2d9b0ce732 Updated restoreradio.js 2021-09-05 23:42:17 +03:00
Vekki000
c142fc61b4 Updated statistics.js
xd
2021-09-05 23:11:26 +03:00
Vekki000
a1cb21d98e Global percent decimal fix 2021-09-05 22:37:26 +03:00
Christer Warén
4c731c1942 Updated interactionCreate.js 2021-09-05 06:59:24 +03:00
Christer Warén
f5ef44b12a Merge branch 'master' into fix-33 2021-09-05 06:32:46 +03:00
Christer Warén
7a0a3e0d50 Updated category in next and prev command 2021-09-05 06:26:34 +03:00
Christer Warén
479c0ee13d Fixed check function 2021-09-05 06:22:47 +03:00
Christer Warén
b280981e1c Updated statistics command 2021-09-05 06:15:54 +03:00
Christer Warén
933140502d Updated prev command 2021-09-05 05:41:22 +03:00
Christer Warén
dfada15b00 Updated next command 2021-09-05 05:41:13 +03:00
Christer Warén
8fdcdd0116 Updated next & prev command 2021-09-05 04:42:11 +03:00
Christer Warén
11573a5113 Updated commands.js 2021-09-05 04:41:53 +03:00
Christer Warén
7e3a83743d Disabled removing commands when bot is going offline 2021-09-05 04:36:32 +03:00
Christer Warén
38af503626 Fixed bug replated to sending error message in interactionCreate.js 2021-09-05 03:44:28 +03:00
Christer Warén
534bc74936 Updated code 2021-09-05 03:37:03 +03:00
Christer Warén
ea2be5d5fb Updated check function 2021-09-05 03:33:48 +03:00
Christer Warén
38a8571ddc Updated nowplaying command 2021-09-05 03:33:15 +03:00
Christer Warén
2d41c7a76b Updated commands and interactionCreate event 2021-09-05 03:17:21 +03:00
Christer Warén
16bc2aab52 Updated play function 2021-09-05 03:12:23 +03:00
Christer Warén
17132cd51a Moved listStations into funcs folder 2021-09-05 03:11:51 +03:00
Christer Warén
ec6ea7e839 Removed unused variable command from commands. 2021-09-05 03:06:47 +03:00
Christer Warén
c81dbddab1 Renamed previous to prev command 2021-09-05 02:54:56 +03:00
Christer Warén
e0226c5cfe Updated multiple command's metadata 2021-09-05 02:49:03 +03:00
Christer Warén
3fc28a79cb Moved createAudioResource from discord.js/voice to play function 2021-09-05 02:39:59 +03:00
Christer Warén
72d0054d25 Made interaction nullable when replying in play function 2021-09-05 02:36:52 +03:00
Christer Warén
25356be323 Moved play function to funcs folder 2021-09-05 02:35:36 +03:00
Christer Warén
e8d90f8a3c Fixed file name searchStations to searchStation 2021-09-05 02:23:26 +03:00
Christer Warén
c724ae502f Moved searchStations function into funcs folder 2021-09-05 02:16:58 +03:00
Christer Warén
a3efdbf3cb Enabled next and previous buttons in restoreradio.js 2021-09-05 02:13:39 +03:00
Christer Warén
2857b6886f Enabled prev & next buttons in play command 2021-09-05 02:13:18 +03:00
Christer Warén
1e24e89568 Updated maintenance command 2021-09-05 02:12:57 +03:00
Christer Warén
3609e6af10 Added empty next and previous command 2021-09-05 02:12:43 +03:00
Christer Warén
d5fefcdbbc Removed commandAliases collection in messageCreate.js 2021-09-05 02:12:10 +03:00
Christer Warén
55905e3841 Merge branch 'master' into fix-33 2021-09-04 14:04:24 +03:00
Christer Warén
0d4c46cfd4 Fixed typo in bug.js 2021-09-04 13:56:05 +03:00
Christer Warén
9ef6b3f36f Fixed bug command 2021-09-04 13:41:53 +03:00
Christer Warén
1a5caf244f Ephemeral replies in nowplaying.js 2021-09-03 06:00:31 +03:00
Christer Warén
853661ff52 Merge branch 'master' into fix-33 2021-09-03 05:27:59 +03:00
Christer Warén
ba5b142bbe Updated messageCreate event 2021-09-03 04:42:12 +03:00
Christer Warén
4ccace9450 Added station logo to now playing command 2021-09-03 04:34:02 +03:00
Christer Warén
711e6d48fb Updated messages.js 2021-09-03 04:33:19 +03:00
Christer Warén
83cfec4678 Updated messages 2021-09-03 04:25:59 +03:00
Christer Warén
90f47825b6 Updated restoreradio.js 2021-09-03 04:06:46 +03:00
Christer Warén
b0270e651e Updated restoreradio.js 2021-09-03 03:50:14 +03:00
Christer Warén
238a67c267 Updated SIGINT.js 2021-09-03 03:47:22 +03:00
Christer Warén
2e5f0a781a Added station logo into thumbnail 2021-09-03 03:47:09 +03:00
Christer Warén
d9e57a47e9 Added empty image to make embeds same size 2021-09-03 03:46:44 +03:00
Christer Warén
13a085b9de Updated SIGINT.js 2021-09-03 03:04:44 +03:00
Christer Warén
fddc57d90e Updated SIGINT.js 2021-09-03 03:03:50 +03:00
Christer Warén
9d9ae80dbe Updated ready.js 2021-09-03 03:03:19 +03:00
Christer Warén
314c744527 Remove slash commands when ending process in Dev bot 2021-09-03 02:45:42 +03:00
Christer Warén
41fb87fab6 Merge branch 'master' into fix-33 2021-09-03 01:57:31 +03:00
Christer Warén
3ec1892a09 Updated ready.js 2021-09-03 01:26:00 +03:00
Christer Warén
7d4fb50351 Update startTime when changing stations in play.js 2021-09-03 01:24:21 +03:00
Christer Warén
179914a2f2 Updated statisticsUpdate.js 2021-09-03 01:23:35 +03:00
Christer Warén
a8fc38ffca Updated ready.js 2021-09-03 01:23:17 +03:00
Christer Warén
329986be53 Added restoreradio.js 2021-09-03 01:22:47 +03:00
Christer Warén
5ec4ea6aae Updated SIGINT.js 2021-09-03 01:22:25 +03:00
Christer Warén
e546001be8 Added saveState & loadState functions 2021-09-03 01:21:55 +03:00
Christer Warén
f2158ba8ae Updated datastore.js 2021-09-03 01:21:11 +03:00
Christer Warén
a1f85a0d19 Updated SIGINT.js 2021-09-02 19:25:04 +03:00
Christer Warén
430e0f9e51 Added SIGTERM event 2021-09-02 19:18:20 +03:00
Christer Warén
45b23722fa Updated maintenance command 2021-09-02 18:58:23 +03:00
Christer Warén
66ace838c6 Remove unnecessary lines in SIGINT.js 2021-09-02 18:45:45 +03:00
Christer Warén
61981a5b0b Updated SIGINT event 2021-09-02 17:58:31 +03:00
Christer Warén
65f83bc522 Updated SIGINT event 2021-09-02 17:57:37 +03:00
Christer Warén
74239f71a7 Updated SIGINT event 2021-09-02 17:37:07 +03:00
Christer Warén
46237fd91e Updated ready.js 2021-09-02 16:50:45 +03:00
Christer Warén
bf0811945a Fixed statisticsUpdate in maintenance.js 2021-09-02 16:50:16 +03:00
Christer Warén
706e65bc06 Added SIGINT event 2021-09-02 16:50:01 +03:00
Christer Warén
12337f499b Updated list command 2021-09-02 15:00:04 +03:00
Christer Warén
da71137f68 Updated stop.js 2021-09-02 14:40:55 +03:00
Christer Warén
45bd690c05 Updated logger function 2021-09-02 14:40:26 +03:00
Christer Warén
eba7551329 Edited loggers in ready.js 2021-09-02 14:40:12 +03:00
Christer Warén
fea24ec1aa Edited message in play.js 2021-09-02 14:39:52 +03:00
Christer Warén
1fd6c2c691 Added messageDelete event 2021-09-02 14:39:23 +03:00
Christer Warén
492df398ff Removed unnecessary messages in messages.js 2021-09-02 13:16:42 +03:00
Christer Warén
a1d4e356a6 Removed comment in interactionCreate.js 2021-09-02 13:12:52 +03:00
Christer Warén
c4fb1d5147 Updated interactionCreate & messageCreate events 2021-09-02 12:54:39 +03:00
Christer Warén
b6c47d7c6f Updated messageCommandsDeprecatedDescription in messages.js 2021-09-02 12:49:08 +03:00
Christer Warén
5208a3feb1 Remove deprecation message after 30 seconds. 2021-09-02 12:11:16 +03:00
Christer Warén
8a10697edd Adding deprecation message when using message commands. 2021-09-02 12:08:19 +03:00
Christer Warén
f786abebe4 Restoring capability to use messageCreate event. 2021-09-02 12:07:08 +03:00
Christer Warén
5e53a908e7 Removed prefix from code 2021-09-02 09:38:15 +03:00
Christer Warén
0d795a6efb Added radio.message?.delete in voiceStateUpdate 2021-09-01 17:56:27 +03:00
Christer Warén
01514454bf Updated Invite link 2021-09-01 17:55:28 +03:00
Christer Warén
40879c85bb Example solutions but dont work due to typescript 2021-09-01 17:47:12 +03:00
Christer Warén
0858f9e49e Updated invite link 2021-09-01 13:56:54 +03:00
Christer Warén
a1aa96fc2f Added radio.message?.delete in voiceStateUpdate 2021-09-01 12:51:17 +03:00
Christer Warén
ec651a681c Updated list.js 2021-08-31 15:55:36 +03:00
Christer Warén
fe165f03c6 List developers in ready.js 2021-08-31 13:59:38 +03:00
Christer Warén
73e2427a21 Updated ready.js 2021-08-31 13:53:23 +03:00
Christer Warén
79acdc9687 Changed button style in play.js 2021-08-31 12:13:49 +03:00
Christer Warén
0c93814013 Added selectMenu when no query in play.js 2021-08-31 11:56:50 +03:00