Commit Graph

628 Commits

Author SHA1 Message Date
kozabrada123 40b459b974 Add call update and delete 2023-05-14 08:39:23 +02:00
kozabrada123 262cd0e780 Add more events, fix deserialization errors 2023-05-14 08:20:25 +02:00
bitfl0wer 51ecf888b8 remove get() 2023-05-13 23:45:49 +02:00
bitfl0wer 3fca30db35 start implementing get() 2023-05-13 23:15:28 +02:00
bitfl0wer ea454228ac Add documentation 2023-05-13 22:55:17 +02:00
bitfl0wer 1934622e4c Implement Guild::create() 2023-05-13 22:14:53 +02:00
bitfl0wer e0a45edb3c Add GuildCreateSchema as per Spacebar Docs 2023-05-13 22:11:06 +02:00
bitfl0wer 5031db6547 Update docs, remove panic in favor of Err Result 2023-05-13 22:10:46 +02:00
bitfl0wer c436fdb857 Remove panic on send_request error 2023-05-13 22:06:44 +02:00
kozabrada123 f4192840ee Merge pull request #52 from polyphony-chat/feature/rest-of-discord-types
Merge discord types we need for requests
2023-05-13 20:04:46 +00:00
kozabrada123 a93962b667 Add Stage Instance and Voice State 2023-05-13 22:01:04 +02:00
kozabrada123 4e51d1251b Add integrations 2023-05-13 21:50:36 +02:00
bitfl0wer ca8f94c18e create src/api/guilds/guilds.rs 2023-05-13 21:42:43 +02:00
kozabrada123 0c3e99057f Add channel and thread types, start guild 2023-05-13 21:27:44 +02:00
Flori 3d37373f98 Update README.md 2023-05-13 19:20:49 +02:00
Flori 65a8cd7cea Merge pull request #50 from kozabrada123/main
Closes #22
2023-05-13 18:06:26 +02:00
kozabrada123 e3a5a532c3 Merge branch 'polyphony-chat:main' into main 2023-05-13 14:49:53 +00:00
kozabrada123 a3969e8cb6 Small changes for merging 2023-05-13 16:43:29 +02:00
bitfl0wer 3c6a549db7 Fix tests 2023-05-13 16:42:24 +02:00
bitfl0wer 092eed6957 update file to one that always exists, fix test 2023-05-13 16:40:34 +02:00
bitfl0wer c74e40e5f9 comment out view_nsfw_guilds to fix tests 2023-05-13 16:36:28 +02:00
kozabrada123 9a80f68787 Warnings 2023-05-13 16:35:42 +02:00
kozabrada123 4765b7a362 WebSocketConnection are no longer used 2023-05-13 16:34:05 +02:00
kozabrada123 41b75be2fb Add a few more gateway events 2023-05-13 16:24:34 +02:00
kozabrada123 11d371eee2 Add rest of send events 2023-05-13 15:59:46 +02:00
Flori e9bb1f8185 Update rust.yml 2023-05-13 15:49:07 +02:00
kozabrada123 595716afc5 Small unit test update 2023-05-13 15:36:29 +02:00
kozabrada123 bcb97977f7 Remove terrible debug messages 2023-05-13 09:54:23 +02:00
kozabrada123 959bbac9bd Fix nested task issues 2023-05-13 09:47:12 +02:00
kozabrada123 cef8fe9fdb Deserialization error.. 2023-05-13 09:05:20 +02:00
kozabrada123 28e956e969 Merge branch 'polyphony-chat:main' into main 2023-05-13 06:11:07 +00:00
Flori 45c2fc601d Merge pull request #38 from polyphony-chat/feature/sending-messages
Feature/sending messages
2023-05-12 19:21:09 +02:00
bitfl0wer b2e7c52eb8 Mark Sending messages as done 2023-05-12 19:20:03 +02:00
bitfl0wer 4abe3d87ec Change visibility of attachments 2023-05-12 19:18:51 +02:00
bitfl0wer ec37e89cc4 add set_id() to FileAttachment
This is so that the id of the Attachment to be sent can just be overwritten by the send() method.
2023-05-12 19:18:40 +02:00
bitfl0wer 1d2ebdd3cd Make attachment sending work! 2023-05-12 19:18:00 +02:00
Flori 59a2a0ffd8 Merge pull request #37 from polyphony-chat/bitfl0wer-patch-1
Update README.md
2023-05-12 15:53:27 +02:00
Flori 3c7b057315 Update README.md 2023-05-12 15:53:16 +02:00
kozabrada123 94fabbffb0 Merge branch 'polyphony-chat:main' into main 2023-05-12 11:41:53 +00:00
Flori 320b839292 Merge pull request #36 from polyphony-chat/feature/sending-messages
fix send() function errors
2023-05-12 13:08:57 +02:00
bitfl0wer 32f337015a cargo fix 2023-05-12 12:35:06 +02:00
bitfl0wer 56be2c9a17 Change send to no longer take static refs 2023-05-12 12:34:27 +02:00
bitfl0wer 9fd3f733f7 Mark unused var as unused 2023-05-12 12:34:00 +02:00
bitfl0wer 6732640f96 impl PartialDiscordFileAttachment
Now contains move_$ methods, which can move individual values out of the PartialDiscordFileAttachment while preserving the rest of the object.
2023-05-12 12:33:39 +02:00
Flori ea9d864580 Merge pull request #35 from polyphony-chat/feature/sending-messages
Bring main up to date
2023-05-11 23:37:11 +02:00
bitfl0wer c544bd409d work on implementing message attachment sending 2023-05-11 23:35:36 +02:00
kozabrada123 6dfaa6e91f Attempted reimpl 2023-05-11 22:47:31 +02:00
bitfl0wer ce46452a2f change message send impl 2023-05-11 22:36:35 +02:00
bitfl0wer a2819c13f0 add a todo so i dont forget to not eat all ram 2023-05-11 00:07:45 +02:00
bitfl0wer fe63d11055 cool i have written a memory hog 2023-05-11 00:06:13 +02:00