Commit Graph

1330 Commits

Author SHA1 Message Date
bitfl0wer 7c0c95690d
Add full Guild type 2023-05-14 12:40:31 +02:00
kozabrada123 e641ab0bbd Flatten, new events 2023-05-14 11:43:17 +02:00
kozabrada123 1e3ea8a072 Add call update and delete 2023-05-14 08:39:23 +02:00
kozabrada123 5bece07ab7 Add more events, fix deserialization errors 2023-05-14 08:20:25 +02:00
bitfl0wer 8503bdbd80
remove get() 2023-05-13 23:45:49 +02:00
bitfl0wer 0d00215ebf
start implementing get() 2023-05-13 23:15:28 +02:00
bitfl0wer a9ef578f70
Add documentation 2023-05-13 22:55:17 +02:00
bitfl0wer 8dce270343
Implement Guild::create() 2023-05-13 22:14:53 +02:00
bitfl0wer 72a4d57aff
Add GuildCreateSchema as per Spacebar Docs 2023-05-13 22:11:06 +02:00
bitfl0wer fe5beee228
Update docs, remove panic in favor of Err Result 2023-05-13 22:10:46 +02:00
bitfl0wer 81c4402f32
Remove panic on send_request error 2023-05-13 22:06:44 +02:00
kozabrada123 92d7b343c5
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 ae1271d828 Add Stage Instance and Voice State 2023-05-13 22:01:04 +02:00
kozabrada123 7069a9e1e6 Add integrations 2023-05-13 21:50:36 +02:00
bitfl0wer 183bd0e0d2
create src/api/guilds/guilds.rs 2023-05-13 21:42:43 +02:00
kozabrada123 9963fd8a33 Add channel and thread types, start guild 2023-05-13 21:27:44 +02:00
Flori a177ddc60b
Update README.md 2023-05-13 19:20:49 +02:00
Flori 5372c6bce5
Merge pull request #50 from kozabrada123/main
Closes #22
2023-05-13 18:06:26 +02:00
kozabrada123 be1a358bfd
Merge branch 'polyphony-chat:main' into main 2023-05-13 14:49:53 +00:00
kozabrada123 9f8ff96d1b Small changes for merging 2023-05-13 16:43:29 +02:00
bitfl0wer ce84251d31
Fix tests 2023-05-13 16:42:24 +02:00
bitfl0wer 35d081c649
update file to one that always exists, fix test 2023-05-13 16:40:34 +02:00
bitfl0wer d4568c998c
comment out view_nsfw_guilds to fix tests 2023-05-13 16:36:28 +02:00
kozabrada123 665507653e Warnings 2023-05-13 16:35:42 +02:00
kozabrada123 ac38c57ada WebSocketConnection are no longer used 2023-05-13 16:34:05 +02:00
kozabrada123 3cac8c18c0 Add a few more gateway events 2023-05-13 16:24:34 +02:00
kozabrada123 b8f649b04b Add rest of send events 2023-05-13 15:59:46 +02:00
Flori 2f8d3debd6
Update rust.yml 2023-05-13 15:49:07 +02:00
kozabrada123 43f77245a1 Small unit test update 2023-05-13 15:36:29 +02:00
kozabrada123 184c12ab46 Remove terrible debug messages 2023-05-13 09:54:23 +02:00
kozabrada123 6c6adabb49 Fix nested task issues 2023-05-13 09:47:12 +02:00
kozabrada123 0e64946428 Deserialization error.. 2023-05-13 09:05:20 +02:00
kozabrada123 b6814a3b10
Merge branch 'polyphony-chat:main' into main 2023-05-13 06:11:07 +00:00
Flori b4d0e2d662
Merge pull request #38 from polyphony-chat/feature/sending-messages
Feature/sending messages
2023-05-12 19:21:09 +02:00
bitfl0wer 96091053e4
Mark Sending messages as done 2023-05-12 19:20:03 +02:00
bitfl0wer 86b7ee22c8
Change visibility of attachments 2023-05-12 19:18:51 +02:00
bitfl0wer 6953dbb326
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 7984c5d19f
Make attachment sending work! 2023-05-12 19:18:00 +02:00
Flori be0a4d7f0c
Merge pull request #37 from polyphony-chat/bitfl0wer-patch-1
Update README.md
2023-05-12 15:53:27 +02:00
Flori 37559e8665
Update README.md 2023-05-12 15:53:16 +02:00
kozabrada123 5ab07116ec
Merge branch 'polyphony-chat:main' into main 2023-05-12 11:41:53 +00:00
Flori 0fc5e19767
Merge pull request #36 from polyphony-chat/feature/sending-messages
fix send() function errors
2023-05-12 13:08:57 +02:00
bitfl0wer 00acaf6de9
cargo fix 2023-05-12 12:35:06 +02:00
bitfl0wer eec54b4ca9
Change send to no longer take static refs 2023-05-12 12:34:27 +02:00
bitfl0wer 06d84af2db
Mark unused var as unused 2023-05-12 12:34:00 +02:00
bitfl0wer 70d7b005d9
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 c7b2002957
Merge pull request #35 from polyphony-chat/feature/sending-messages
Bring main up to date
2023-05-11 23:37:11 +02:00
bitfl0wer 7eaa8a96b7
work on implementing message attachment sending 2023-05-11 23:35:36 +02:00
kozabrada123 4008d36763 Attempted reimpl 2023-05-11 22:47:31 +02:00
bitfl0wer 4c83e190b8
change message send impl 2023-05-11 22:36:35 +02:00