bitfl0wer
d51291de3c
Change test delete, add test get_channels()
2023-05-29 16:51:28 +02:00
bitfl0wer
7f8abceab5
Made Guild::create return Guild instead of String.
...
This makes way more sense, I think.
2023-05-29 16:50:10 +02:00
bitfl0wer
fee0aa966a
Changed some apparently incorrect attributes
...
Some attributes are not necessarily returned by the GET route for a guild. Also, some integers were too small. One example is max_video_channel_users, which was a u8, but could theoretically be a value much higher than u8::MAX.
2023-05-29 16:49:36 +02:00
bitfl0wer
b2b5930db0
Remove print statement
2023-05-28 23:08:13 +02:00
bitfl0wer
135782da9f
Remove print statement
2023-05-28 23:08:05 +02:00
bitfl0wer
7f6ed72068
Add delete_channel test.
2023-05-28 23:04:56 +02:00
bitfl0wer
7b7dbb9b5e
Create channels() for Guild
...
This method retrieves all channels from a guild
2023-05-28 23:04:35 +02:00
bitfl0wer
897c269e98
Make delete use self
2023-05-28 23:04:13 +02:00
bitfl0wer
5db5a2562f
Add InvalidResponseError
2023-05-28 23:04:02 +02:00
bitfl0wer
2ba1e1ac84
Add documentation
2023-05-28 22:40:37 +02:00
bitfl0wer
69b6efe200
Make channel delete take ownership of a Channel
2023-05-28 22:39:38 +02:00
bitfl0wer
268da9525c
Add channel delete method
2023-05-28 22:39:25 +02:00
Flori
5a7565b0b3
Update README.md
2023-05-28 22:29:24 +02:00
bitfl0wer
dcc3ea59db
Change rusty-hook to be pre-commit
2023-05-28 11:43:03 +02:00
bitfl0wer
af9247ed11
Testing on main woah
2023-05-28 00:53:45 +02:00
bitfl0wer
5732f1119f
Add rusty-hook for pre-push cargo fmt
2023-05-28 00:52:11 +02:00
bitfl0wer
77ae3f10b6
run cargo fmt && cargo fix
2023-05-28 00:50:52 +02:00
Flori
a1dae4f3c8
Merge pull request #77 from polyphony-chat/refactor/test-restructuring
...
Make all integration tests completely reproducible
2023-05-27 23:01:51 +02:00
bitfl0wer
06c49c6895
remove login test
2023-05-27 22:53:40 +02:00
bitfl0wer
daf4e923d5
Add instance tests
2023-05-27 22:51:57 +02:00
bitfl0wer
503edf2fac
Move test to tests-dir
2023-05-27 22:51:43 +02:00
bitfl0wer
1e844445fc
Remove empty test
2023-05-27 22:47:46 +02:00
bitfl0wer
c8caf2afb7
Remove newline at beginning of file
2023-05-27 22:47:14 +02:00
bitfl0wer
92af5f09b6
Add message tests
2023-05-27 22:46:57 +02:00
bitfl0wer
8f123c2054
Add auth tests
2023-05-27 22:46:50 +02:00
bitfl0wer
8ea0cc3f3f
Make password optional
2023-05-27 22:46:43 +02:00
bitfl0wer
927109e9b6
Move tests to tests/-dir
2023-05-27 22:46:27 +02:00
bitfl0wer
3028d8f70a
move channel test to channel
2023-05-27 22:12:15 +02:00
bitfl0wer
c85ac2d663
Move common code into common::<>
2023-05-27 22:12:07 +02:00
bitfl0wer
241afd9003
Rename integration.rs to guild.rs
2023-05-27 22:11:35 +02:00
Flori
03f227d01e
Merge pull request #76 from polyphony-chat/refactor/application-default
...
Refactor/application default
2023-05-27 20:55:13 +02:00
bitfl0wer
a7d092fc3a
Fix build
2023-05-27 20:54:43 +02:00
bitfl0wer
0504f0a9d2
Merge branch 'refactor/application-default'
2023-05-27 20:46:19 +02:00
Zert3x
54456bc830
Merge branch 'main' into refactor/application-default
2023-05-27 14:45:44 -04:00
Flori
e1895c3947
Merge pull request #74 from polyphony-chat/feature/full-gateway-coverage
...
Add rest of gateway events (merge feature/full gateway coverage)
2023-05-27 20:42:42 +02:00
kozabrada123
f54e750f74
Add options with empty string for identify props
2023-05-27 19:55:57 +02:00
Zertex
7189294d4b
Hijack this to clean up ApplicationCommandOptionType with serde_repr
2023-05-27 13:46:37 -04:00
Zertex
250035fe9e
Add custom Default impl to Application
2023-05-27 13:45:56 -04:00
bitfl0wer
da9232da0b
Fix typos
2023-05-27 19:36:07 +02:00
kozabrada123
a26ded8ab2
Merge branch 'main' into feature/full-gateway-coverage
2023-05-27 19:23:27 +02:00
Flori
515a392368
Merge pull request #72 from polyphony-chat/feature/feature-locks
...
Feature/feature locks
2023-05-27 19:13:45 +02:00
kozabrada123
e5b061f991
Fix images being deleted for some reason???!
2023-05-27 17:46:36 +02:00
Zertex
7a487c657c
remove message field
2023-05-27 11:40:20 -04:00
kozabrada123
f8c02fee6a
Remove dumping gateway events into stdout
2023-05-27 17:33:19 +02:00
kozabrada123
4a7fea8366
Better unrecognised messages
2023-05-27 17:31:55 +02:00
kozabrada123
be73bf19eb
Add Application Command Permissions & Update event
2023-05-27 17:29:30 +02:00
kozabrada123
15ffdcecaa
Add InteractionCreate
2023-05-27 17:11:47 +02:00
kozabrada123
5b04370d46
Add Stage Instance & events
2023-05-27 17:05:25 +02:00
kozabrada123
8d0083e11d
Add Auto Moderation types & events
2023-05-27 16:50:38 +02:00
kozabrada123
ab902c5ef2
Add Relationship & related events
2023-05-27 16:03:23 +02:00