Reworked message format, added support for audio messages, made Message class #10

Merged
snxraven merged 20 commits from MiTask/LinkUp-P2P-Chat:main into main 2024-06-14 14:15:43 -04:00

20 Commits

Author SHA1 Message Date
MrMasrozYTLIVE
f706e7d621 Made Client.js->setupSwarm() parsing messages more readable 2024-06-14 20:06:05 +03:00
MrMasrozYTLIVE
42dccf9547 Actually just returning the url if its host is not 'localhost' 2024-06-14 19:58:40 +03:00
MrMasrozYTLIVE
d4dc1b299d Ignoring 'updatePortInUrl' if port is 443 (SSL connection) 2024-06-14 19:53:51 +03:00
MrMasrozYTLIVE
3e9a2101d5 I did this.botName and not bot.botName lol 2024-06-14 19:51:34 +03:00
MrMasrozYTLIVE
2d0f97bc8f Oops i made async constructor 2024-06-14 19:50:10 +03:00
MrMasrozYTLIVE
6cbfe34966 Testing bot avatars thingy 2024-06-14 19:49:26 +03:00
MrMasrozYTLIVE
9b4357dd00 i hate js. it ignores all of my code and just sends 'messagetype' instead of 'type' 2024-06-14 19:25:17 +03:00
MrMasrozYTLIVE
14aa129f6d Trying some changes to make bot messages and client mmessages have same format 2024-06-14 17:44:05 +03:00
MrMasrozYTLIVE
d449249f41 Revert reverting 2024-06-14 17:39:16 +03:00
MrMasrozYTLIVE
bb26b5c2a8 Revert all changes i did to app.js 2024-06-14 17:37:58 +03:00
MrMasrozYTLIVE
52a319a1c0 Fixed my bots messages 2024-06-14 17:36:16 +03:00
MrMasrozYTLIVE
70655ce901 So messages actually broke somehow lol 2024-06-14 17:34:06 +03:00
MrMasrozYTLIVE
75be3a5b33 Reworked commands, added some funny stuff 2024-06-14 17:20:37 +03:00
MrMasrozYTLIVE
d5650a9d7b I think i did it yay 2024-06-14 17:09:30 +03:00
MrMasrozYTLIVE
2ff9c73585 It doesnt want to work 😭 2024-06-14 17:07:21 +03:00
MrMasrozYTLIVE
d50e0df6a1 Time to do lots of debugging 😭 2024-06-14 17:05:00 +03:00
MrMasrozYTLIVE
8262bd4eb7 Hm. Its pretty strange. Thats why i dont really like JavaScript 2024-06-14 17:04:08 +03:00
MrMasrozYTLIVE
457bf01bc3 Trying out isPrototypeOf() function 2024-06-14 17:02:26 +03:00
MrMasrozYTLIVE
feff30fecc Testing if sendMessage argument extends Message class 2024-06-14 17:00:35 +03:00
MrMasrozYTLIVE
b3ccda32ea did lots of work on bot package 2024-06-14 16:43:17 +03:00