Commit Graph

419 Commits

Author SHA1 Message Date
Christer Warén
f9d5be189e Update Radio class 2021-09-16 05:34:52 +03:00
Christer Warén
a8513ce514 Update listStations function 2021-09-16 05:17:47 +03:00
Christer Warén
9ecdbc2bee Update check function 2021-09-16 05:17:33 +03:00
Christer Warén
5ee30b1782 Update ready event 2021-09-16 05:17:18 +03:00
Christer Warén
4bf74f15a2 Revert c7ddc6e 2021-09-16 05:16:41 +03:00
Christer Warén
ccb386e3b3 Update Stations class 2021-09-16 05:13:22 +03:00
Christer Warén
dbedb83104 Fix typo in Radio class 2021-09-16 05:13:07 +03:00
Christer Warén
b34120e688 Update listStations function 2021-09-16 04:53:48 +03:00
Christer Warén
90c7c667e4 Update check function 2021-09-16 04:53:31 +03:00
Christer Warén
062a163a11 Update voiceStateUpdate event 2021-09-16 04:53:15 +03:00
Christer Warén
1f4c3a08d0 Update SIGINT event 2021-09-16 04:52:56 +03:00
Christer Warén
acc7ab1727 Update ready event 2021-09-16 04:52:41 +03:00
Christer Warén
c7ddc6ec5b Update multiple commands 2021-09-16 04:52:30 +03:00
Christer Warén
6d22dda0ae Update Client.ts 2021-09-16 04:51:36 +03:00
Christer Warén
bfba8304e4 Update Streamer class 2021-09-16 04:51:23 +03:00
Christer Warén
7d38170ba6 Removed calculateGlobal function in Datastore class 2021-09-16 04:50:44 +03:00
Christer Warén
348b540c06 Remove few functions 2021-09-16 04:48:58 +03:00
Christer Warén
330c33b3d7 Add Statistics class 2021-09-16 04:46:54 +03:00
Christer Warén
dfa9548b59 Add Stations class 2021-09-16 04:46:42 +03:00
Christer Warén
b351bbebed Add Radio class 2021-09-16 04:46:30 +03:00
Christer Warén
469374f25e Update Streamer class 2021-09-16 03:34:31 +03:00
Christer Warén
72c1609503 Update statusField order in status.js 2021-09-16 03:19:25 +03:00
Christer Warén
8d5291cbb0 Moved commands map to commands.js 2021-09-16 03:17:50 +03:00
Christer Warén
ebf1d0759e Update commands.js 2021-09-16 02:52:40 +03:00
Christer Warén
c829f70418 Add devMode to config 2021-09-16 02:52:24 +03:00
Christer Warén
a4d984f19c Update Datastore class 2021-09-16 02:27:33 +03:00
Christer Warén
09ae458ff1 Update play function 2021-09-16 02:26:11 +03:00
Christer Warén
00f6ee71e0 Update interactionCreate event 2021-09-16 02:17:14 +03:00
Christer Warén
126d5e9ba2 Update play command 2021-09-16 02:07:05 +03:00
Christer Warén
d64b0ac0cb Change default streamerMode to manual 2021-09-16 01:21:33 +03:00
Christer Warén
bfb27e7359 Update play command 2021-09-16 01:13:17 +03:00
Christer Warén
48445afdd5 Update Streamer event 2021-09-16 01:11:31 +03:00
Christer Warén
4854e622b3 Update maintenance command 2021-09-15 17:26:04 +03:00
Christer Warén
9d9c8a6a07 Update Streamer class 2021-09-15 17:25:55 +03:00
Christer Warén
7040300b3e Update Streamer class 2021-09-14 18:02:11 +03:00
Christer Warén
24478b6320 Update saveRadios function 2021-09-14 17:13:37 +03:00
Christer Warén
a43a788e15 Update play command 2021-09-14 17:13:17 +03:00
Christer Warén
2892913caa Update maintenance command 2021-09-14 17:12:47 +03:00
Christer Warén
930d481fcf Update Streamer class 2021-09-14 17:12:30 +03:00
Christer Warén
81a9d7be7c Update Datastore class 2021-09-14 17:12:18 +03:00
Christer Warén
b76b7a107c Update maintenance command 2021-09-14 14:52:04 +03:00
Christer Warén
4b0efe7491 Update maintenance command 2021-09-12 17:49:21 +03:00
Christer Warén
a20e7a1c8e Update ready.js 2021-09-12 17:49:07 +03:00
Christer Warén
88fdad4ab9 Update maintenance command 2021-09-12 17:39:38 +03:00
Christer Warén
3ed49f88ab Update Streamer class 2021-09-12 17:39:23 +03:00
Christer Warén
752bd07c5d client.config.maintenance to client.config.maintenanceMode 2021-09-12 17:38:52 +03:00
Christer Warén
b08de94c64 Update functions 2021-09-12 17:37:43 +03:00
Christer Warén
892c5f9902 Update Streamer class 2021-09-12 17:09:32 +03:00
Christer Warén
3029a8a653 Hide owner in now playing when station name is same in play command 2021-09-12 17:08:31 +03:00
Christer Warén
86510a8871 Hide owner in now playing when station name is same in nowplaying command 2021-09-12 17:08:20 +03:00
Christer Warén
e85b864170 Add streamerMode setting to config 2021-09-12 17:07:41 +03:00
Christer Warén
ad9a2f8f19 Update restoreRadios function 2021-09-11 23:58:39 +03:00
Christer Warén
803bc20fb7 Update voiceStateUpdate event 2021-09-11 23:58:24 +03:00
Christer Warén
7d479b4c5f Update Streamer class 2021-09-11 23:19:49 +03:00
Christer Warén
ffa9c8abb0 Update Streamer class 2021-09-11 23:12:39 +03:00
Christer Warén
49475212a7 Update Streamer class 2021-09-11 23:03:20 +03:00
Christer Warén
824d4042c1 Update maintenance command 2021-09-11 23:02:37 +03:00
Christer Warén
0c76c137b9 Update ready.js 2021-09-11 23:02:12 +03:00
Christer Warén
accff3fa60 Update Streamer class 2021-09-11 22:35:06 +03:00
Christer Warén
1cfa62802f Update play command 2021-09-11 18:27:21 +03:00
Christer Warén
9019741146 Update stop command 2021-09-11 18:27:12 +03:00
Christer Warén
095b6ad775 Update Streamer class 2021-09-11 18:27:01 +03:00
Christer Warén
a043cde46e Update logger function 2021-09-11 18:03:27 +03:00
Christer Warén
bfec178de7 Update Streamer class 2021-09-11 18:01:53 +03:00
Christer Warén
12f3948e40 Update SIGINT event 2021-09-11 17:35:20 +03:00
Christer Warén
0bc26f8895 Update Streamer class 2021-09-11 17:34:50 +03:00
Christer Warén
b66a60ebe9 Formatting Streamer class 2021-09-11 17:17:42 +03:00
Christer Warén
b4a24de8cd Update play command 2021-09-11 17:16:11 +03:00
Christer Warén
9517ba1fa9 Update play function 2021-09-11 17:16:03 +03:00
Christer Warén
73d330d1e2 Update stop command 2021-09-11 17:15:27 +03:00
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
2b72f87256 Update Client.ts 2021-09-11 17:11:10 +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
1d6361871c Update Client.ts 2021-09-10 01:54:43 +03:00
Christer Warén
3978f19b2e Fix typo in uncaughtException event 2021-09-10 01:54:30 +03:00
Christer Warén
26cdef50b2 Update Client.ts 2021-09-10 01:44:21 +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
44d81b6fd7 Add warning event 2021-09-10 01:21:42 +03:00
Christer Warén
24071eb5df Update Client.ts 2021-09-09 18:55:42 +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
5c1a8f0ef1 Add maintenance mode in config.js 2021-09-09 18:54:51 +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
0b1cb03305 Added exit event in Client.ts 2021-09-09 12:05:39 +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