Commit Graph

354 Commits

Author SHA1 Message Date
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
8e9546097f Updated Client.ts 2021-09-02 18:18:37 +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
Christer Warén
1c9ad75b8e Updated interactionCreate event 2021-08-31 11:55:57 +03:00
Christer Warén
277b67e3df Making interaction.options nullable in play.js 2021-08-31 10:48:04 +03:00
Christer Warén
b5d5ca1fe6 Updated interactionCreate event 2021-08-31 10:47:39 +03:00
Christer Warén
5df88494b0 Updated logger in ready.js line 30 2021-08-31 10:38:48 +03:00
Christer Warén
7a93cd001f Edited embed message and delete components when stopping radio 2021-08-31 10:38:21 +03:00
Christer Warén
bdc76b73a7 Edited options & added buttons in play.js 2021-08-31 10:37:47 +03:00
Christer Warén
25e9ebbd4e Added new emojis 2021-08-31 10:37:20 +03:00
Christer Warén
f0dcd76033 Update 2021-08-28 11:07:47 +03:00
Christer Warén
5f5b164e0d Updated stop.js 2021-08-27 04:59:23 +03:00
Christer Warén
1358787793 Updated play.js 2021-08-27 04:59:15 +03:00
Christer Warén
42591791c3 Fixed typos in ready.ts 2021-08-27 02:52:30 +03:00
Christer Warén
0b7da1937b Removed createDiscordJSAdapter 2021-08-27 01:38:33 +03:00
Christer Warén
ee13f11f71 Ephemeral reply to nowplaying.js 2021-08-27 00:34:17 +03:00
Christer Warén
a6d1f68191 Small fix in play.js 2021-08-26 23:33:28 +03:00
Christer Warén
0ac8491a96 Customizing searchStation function in play.js 2021-08-26 23:15:55 +03:00
Christer Warén
c08d5650ec Fixed nowplaying command 2021-08-26 22:25:31 +03:00
Christer Warén
3488d8e737 Updated nowplaying.js 2021-08-26 22:06:41 +03:00
Christer Warén
96e1ce82ae Updated logger function 2021-08-26 22:06:26 +03:00
Christer Warén
4498efcdcd Ephemeral replies 2021-08-26 22:06:15 +03:00
Christer Warén
294aa28849 Fix commands.js 2021-08-26 21:50:15 +03:00
Christer Warén
f0887514af Fixing indentations in multiple commands 2021-08-26 18:14:15 +03:00
Christer Warén
8d15567f85 Removed comments in interactionCreate.js 2021-08-26 18:10:45 +03:00
Christer Warén
fcb5f4f6e6 Moved SlashCommandBuilder to commands.js 2021-08-26 18:00:04 +03:00
Christer Warén
bd70f2bedc Removed comments in help.js 2021-08-26 17:02:11 +03:00
Christer Warén
4ba582295b Removed second variable from msToTime in multiple files 2021-08-25 23:05:06 +03:00
Christer Warén
d524649ad5 Updated msToTime function 2021-08-25 22:45:37 +03:00
Christer Warén
ca494df400 Updated msToTime function 2021-08-25 22:39:44 +03:00
Christer Warén
b8c1816b1c Added logger to voiceStateUpdate.js 2021-08-22 20:51:02 +03:00
Christer Warén
c5f269c0a7 Added logger to ready.js 2021-08-22 20:50:48 +03:00
Christer Warén
b979d26425 Added logger to stop.js 2021-08-22 20:50:14 +03:00
Christer Warén
f18776ce1a Added logger to play.js 2021-08-22 20:50:02 +03:00
Christer Warén
8168650f69 Updated maintenance command 2021-08-22 20:49:43 +03:00
Christer Warén
dd37b3447f Added logging to commands.js 2021-08-22 20:49:11 +03:00
Christer Warén
b03c6fd3b0 Created logger function 2021-08-22 20:47:40 +03:00
Christer Warén
7810f6fff8 Updated help command 2021-08-22 19:00:19 +03:00
Christer Warén
2fec81e84d Updated code 2021-08-22 18:48:40 +03:00
Christer Warén
606dcc0ab3 Hiding help subcommands 2021-08-22 14:54:40 +03:00
Christer Warén
727cae13b4 Merge branch 'master' into develop 2021-08-21 19:43:57 +03:00
Christer Warén
6afe6c30f9 Fixed help command 2021-08-21 19:12:52 +03:00
Christer Warén
17161b72b9 Updated helpDescription message 2021-08-21 19:12:18 +03:00
Christer Warén
3cb54c9470 Nulling connection after bot is disconnected 2021-08-21 18:29:59 +03:00
Christer Warén
9533748f0f Added version to console.log in ready.js 2021-08-21 17:56:33 +03:00
Christer Warén
42b8f52834 Required commands to load when bot is ready 2021-08-21 17:55:52 +03:00
Christer Warén
8785d0c715 Updated commands.js 2021-08-21 17:55:10 +03:00
Christer Warén
7ccd72cc6d Merge branch 'master' into develop 2021-08-21 15:24:33 +03:00
Christer Warén
6c860b6b23 Fixed #26 in voiceStateUpdate.js 2021-08-21 15:15:32 +03:00
Christer Warén
0a269aac94 Updated commands.js 2021-08-19 02:01:06 +03:00
Christer Warén
4b10736508 Updated check.js 2021-08-19 01:59:55 +03:00
Christer Warén
97317449f9 Updated play.js 2021-08-19 01:59:47 +03:00
Christer Warén
0b7c04d242 Updated check.js 2021-08-19 01:53:04 +03:00
Christer Warén
63e99dd2b3 Updated ready.js 2021-08-19 01:52:55 +03:00
Christer Warén
d5b8d67064 Removed message event 2021-08-19 01:52:46 +03:00
Christer Warén
ce5351c3f4 Added interactionCreate event 2021-08-19 01:52:31 +03:00
Christer Warén
2d68eb1ffd Updated commands 2021-08-19 01:52:16 +03:00
Christer Warén
cecadb2bef Updated commands.js 2021-08-19 01:50:56 +03:00
Christer Warén
c5d5d28475 Updated config.js 2021-08-19 01:50:45 +03:00
Christer Warén
9e6d60bde8 Updated Client.ts 2021-08-19 01:50:35 +03:00
Christer Warén
684a87c398 Disabled message commands 2021-08-19 00:01:13 +03:00
Christer Warén
8c35d71818 Updated Invite Link 2021-08-18 23:57:59 +03:00
Christer Warén
95e8b17ddd Updated statisticsUpdate function 2021-08-08 20:06:30 +03:00
Christer Warén
6a11482110 Fix typo in datastore.js 2021-08-08 19:20:20 +03:00
Christer Warén
8f685a0676 Updated adapter.ts 2021-08-07 23:56:58 +03:00
Christer Warén
40490d80dc Updated stop.js & voiceStateUpdate.js 2021-08-04 17:46:06 +03:00
Christer Warén
ef18a08cc6 Updated play 2021-08-04 15:18:14 +03:00
Christer Warén
378fe97ea3 Updated voiceStateUpdate 2021-08-04 15:14:12 +03:00
Christer Warén
39d7acaa9e Updated voiceStateUpdate 2021-08-04 15:03:58 +03:00
Christer Warén
0ef9cad101 Updated voiceStateUpdate 2021-08-04 14:57:02 +03:00
Christer Warén
07e45ae54d Updated voiceStateUpdate 2021-08-04 14:47:27 +03:00
Christer Warén
f437797bed Updated voiceStateUpdate 2021-08-04 14:42:37 +03:00
Christer Warén
e267b06cf1 Updated voiceStateUpdate 2021-08-04 14:40:06 +03:00
Christer Warén
a5ffaadf31 Updated voiceStateUpdate 2021-08-04 14:34:41 +03:00
Christer Warén
251eb7f5a1 Fix VoiceStateUpdate 2021-08-04 13:52:30 +03:00
Christer Warén
b2ae9ef6f0 Stop audioPlayer in maintenance.js 2021-08-04 13:07:48 +03:00
Christer Warén
db409ac6d2 Stop audioPlayer in stop.js 2021-08-04 13:07:09 +03:00
Christer Warén
fb2c18b9b0 Removed commented code in play.js 2021-08-04 13:06:09 +03:00
Christer Warén
5efb68b717 Removed radio.voiceChannel.leave() and replaced with radio.connection.destroy() in maintenance.js 2021-08-04 12:56:08 +03:00
Christer Warén
f543cd3267 Removed radio.voiceChannel.leave() and replaced with radio.connection.destroy() 2021-08-04 12:48:59 +03:00
Christer Warén
bf70276d7f Fix typo 2021-08-04 11:29:49 +03:00
Christer Warén
7db92969af Fix embed sending part 3 2021-08-04 11:17:30 +03:00
Christer Warén
3520e86f0b Fix embed sending part 2 2021-08-04 11:12:07 +03:00
Christer Warén
bb07884ab4 Fix embed sending 2021-08-04 10:52:56 +03:00
Christer Warén
2de365770d Updated event message to messageCreate 2021-08-04 10:18:43 +03:00
Christer Warén
b01ee3b380 Create datastore folder 2021-08-04 10:07:11 +03:00
Christer Warén
308afd9f96 Updated play command 2021-06-24 14:05:30 +03:00
Christer Warén
31baeeab45 Made invite URL dynamic 2021-06-23 18:48:55 +03:00
Christer Warén
c17900b618 Removed volume command 2021-06-23 18:48:38 +03:00
Christer Warén
10c6a8c589 Stopped using dispatcher 2021-06-23 01:25:45 +03:00
Christer Warén
1f259d95ac Defined devID variable in isDev.js 2021-06-16 04:50:15 +03:00
Christer Warén
9b67506558 Removed static directory address in datastore.js 2021-06-16 04:49:45 +03:00
Christer Warén
f9ba5a3117 Removed static directory address in Client.ts 2021-06-16 04:49:11 +03:00
Matte
3cb07107d5 Updated src 2021-06-08 12:01:56 +03:00