Commit Graph

92 Commits

Author SHA1 Message Date
Raven Scott
5080c37bcf update 2024-06-15 03:28:36 -04:00
Raven Scott
7350d134a1 update 2024-06-15 03:20:52 -04:00
Raven Scott
a6229b4b9a update readme 2024-06-15 03:19:54 -04:00
Raven Scott
c477a988fd update readme 2024-06-15 03:18:52 -04:00
Raven Scott
04c677e8e7 update readme 2024-06-15 03:16:15 -04:00
Raven Scott
983d88002e Add current bot readme 2024-06-15 03:12:38 -04:00
Raven Scott
150b69a2a2 update example paths 2024-06-15 03:04:41 -04:00
Raven Scott
487bc13970 Adding proper support for audio messages via bot 2024-06-15 03:03:43 -04:00
Raven Scott
2cf819553a correct support for sending files via the bot 2024-06-15 02:52:20 -04:00
Raven Scott
49f4cc88ed fix usernames being sent 2024-06-14 15:38:45 -04:00
Raven Scott
66ae839318 Fix usernames for bots 2024-06-14 15:21:41 -04:00
Raven Scott
db88b09ba5 handling user icons via HyperDrive 2024-06-14 15:09:54 -04:00
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
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
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
Raven Scott
bd885bb591 Fix peerName in Message received 2024-06-14 04:46:19 -04:00
01ca4aae5a Update chatBot/includes/Client.js 2024-06-14 08:43:27 +00:00
65576e82b3 Added proper shutting down 2024-06-14 08:35:54 +00:00
Raven Scott
116b23d70f Move back to global peer count 2024-06-13 20:47:45 -04:00
Raven Scott
b50bd0bbab Room Counts done better 2024-06-13 20:02:01 -04:00
Raven Scott
052fbecc20 Remove not needed join line 2024-06-12 00:08:34 -04:00
Raven Scott
b9db313eff Fix chatBot 2024-06-11 17:40:02 -04:00
MrMasrozYTLIVE
00b26d6afe Changed lots of stuff inside of bot code. Got rid of peers in message object. 2024-06-11 21:47:42 +03:00
MrMasrozYTLIVE
4aa205cd73 Got rid of 2 useless classes 2024-06-11 20:56:02 +03:00
MrMasrozYTLIVE
5bb5e63105 Trying to merge is so hard 2024-06-11 20:54:43 +03:00
MrMasrozYTLIVE
4415d196de small change in text 2024-06-11 20:53:30 +03:00
Raven Scott
e57db27a13 Fixing bot 2024-06-10 22:20:36 -04:00
Raven Scott
157c8af4f4 Update bot Client to work with the new connection logic 2024-06-10 22:04:57 -04:00
Raven Scott
01fee56692 Fixing bot messages 2024-06-10 19:49:46 -04:00
MrMasrozYTLIVE
edf61f0462 Started working on proper classes for messages (files and text), user peer class, chatroom class 2024-06-10 21:34:50 +03:00
MrMasrozYTLIVE
7275b69948 Added onIcon and onFile events. onMessage is now being called only on messageType == message. Removed debug code from swarm.on('update'). 2024-06-10 21:23:59 +03:00
MrMasrozYTLIVE
56d8a8091e Yeah it actually works :yay: 2024-06-10 21:18:33 +03:00
MrMasrozYTLIVE
4ec0be2774 I think i got it to work lol 2024-06-10 21:17:16 +03:00
MrMasrozYTLIVE
27b3528304 It can have multiple topics :( time to figure a way to do it then ig 2024-06-10 21:13:52 +03:00
MrMasrozYTLIVE
2ca07e46c3 so topics in .map() are array. Is it array that always has only one buffer or can have lots of them??? 2024-06-10 21:11:46 +03:00
MrMasrozYTLIVE
e396bcbb0b b4a doesnt work its time to debug again 2024-06-10 21:10:25 +03:00
MrMasrozYTLIVE
3b7f0fbd1d replaced topic.toString with b4a.toString(topic) 2024-06-10 21:09:33 +03:00