Commit Graph
25 Commits
Author SHA1 Message Date
MrMasrozYTLIVE f3b4755821 Very strange stuff tbh 2024-06-09 10:03:23 +03:00
MrMasrozYTLIVE f6f804ab39 It actually works now but i want to get it to work properly 2024-06-09 10:01:01 +03:00
MrMasrozYTLIVE f5f8d0ce19 And I honestly have no idea why it doesnt want to work 2024-06-09 10:00:01 +03:00
MrMasrozYTLIVE 13e4020920 It just doesnt want to put proper data to the config for some strange reason 2024-06-09 09:58:35 +03:00
MrMasrozYTLIVE 4a881ed721 Its actually not the reason... 2024-06-09 09:57:11 +03:00
MrMasrozYTLIVE 2befd34039 Ohh reading is async, thats why it didnt work 2024-06-09 09:56:12 +03:00
MrMasrozYTLIVE b577ff3207 It doesnt want to use config for some reason. Time to debug stuff 2024-06-09 09:54:30 +03:00
MrMasrozYTLIVE 8ca1cc2b8f I just forgot to read from the file LOL 2024-06-09 09:53:11 +03:00
MrMasrozYTLIVE a3fbe7434a Hmm will it work this way? 2024-06-09 09:50:05 +03:00
MrMasrozYTLIVE a9f50e892b Oopsie checking if config exists didnt work (It is done by checking if username is not empty lol) 2024-06-09 09:46:42 +03:00
MrMasrozYTLIVE 1271c48571 Mostly finished loading. User avatar stuff is left to do 😭 2024-06-09 09:44:52 +03:00
MrMasrozYTLIVE d33d31debf Got rid of userName and userAvatar in exchange of config.userName and config.userAvatar 2024-06-09 09:32:33 +03:00
MrMasrozYTLIVE 89ebe02743 Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat 2024-06-09 09:29:39 +03:00
MrMasrozYTLIVE c2e1242d8b Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat
This is automatic merge of FileUploading and Config commits.
2024-06-09 09:24:04 +03:00
MrMasrozYTLIVE 3947e78aef Started working on saving the user data on actions like registration, joining and leaving rooms. Lacks of loading on start up. 2024-06-09 09:23:45 +03:00
MrMasrozYTLIVE 9f2353c902 Added check if botName or chatRoomID is not defined 2024-06-08 23:38:44 +03:00
MrMasrozYTLIVE cd5cfb20a4 Replaced 'setTimeOut' with bot.on('onBotJoinRoom', () => {}); for sending ON_READY_MESSAGE to the chat 2024-06-08 23:36:00 +03:00
MrMasrozYTLIVE 164efc5b72 Removed Enum class because it does not work 😭 2024-06-08 23:31:24 +03:00
MrMasrozYTLIVE b244aa9bdf Added Event enum and 2 new events 2024-06-08 23:29:51 +03:00
MrMasrozYTLIVE 114875cddb Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat 2024-06-08 23:17:29 +03:00
MrMasrozYTLIVE e33244c1f1 Merge https://git.ssh.surf/MiTask/LinkUp-P2P-Chat 2024-06-08 22:56:23 +03:00
MrMasrozYTLIVE 0587f261b7 Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat 2024-06-08 22:55:01 +03:00
MrMasrozYTLIVE 28be0822f6 Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat 2024-06-08 22:45:00 +03:00
MrMasrozYTLIVE 83f75a4fc8 Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat
This is merge.
2024-06-08 22:34:47 +03:00
MrMasrozYTLIVE de00514397 I actually dont know if it works or not. Changes: Replaced TopicBuffer with chatRoomID and now topicBuffer is being created directly in Client class; Replaced chatBot with Client; Client now extends EventEmitter; bot.on('onMessage', (pear, message) => {}) is now a thing instead of directly putting method in chatBot constructor 2024-06-08 22:34:25 +03:00