bitfl0wer
5a40da1cd6
Implement User methods on User instead of UserMeta
2023-05-29 17:25:34 +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
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
bitfl0wer
77ae3f10b6
run cargo fmt && cargo fix
2023-05-28 00:50:52 +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
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
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
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
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
kozabrada123
7367475d99
Add "Discord Client" option
2023-05-27 13:16:40 +02:00
kozabrada123
b11743d35c
Document more gateway props options
2023-05-27 13:05:59 +02:00
kozabrada123
224b3159a6
Fix some deserialization errors
2023-05-27 13:05:36 +02:00
kozabrada123
21c4d53b28
Fix a types mismatch
2023-05-27 09:58:10 +02:00
kozabrada123
b102f3d2cc
Fix stack overflow due to infinite recursion
...
I am dumb
2023-05-27 09:57:46 +02:00
kozabrada123
5b08ddfcfb
Add a sensible defaults for Identify and its props
2023-05-27 09:21:26 +02:00
Zertex
5e000f3617
Revert "Add back settings and extended_settings fields to User"
...
This reverts commit 3018c0ddd1
.
2023-05-27 00:24:37 -04:00
Zertex
9974d90416
Revert "fix imports"
...
This reverts commit 13c2e4aed9
.
2023-05-27 00:24:32 -04:00
Zertex
13c2e4aed9
fix imports
2023-05-27 00:12:05 -04:00
Zertex
3018c0ddd1
Add back settings and extended_settings fields to User
2023-05-27 00:07:07 -04:00
Zertex
b8e5b627de
Add PartialEq, Clone, Copy to Component
2023-05-26 22:44:43 -04:00
Zertex
342354a06b
Add forgotten derives to UnvailableGuild/GuildCreateResponse
2023-05-26 22:38:39 -04:00
Zertex
185480b0be
Add forgotten feature lock to UserTheme
2023-05-26 22:38:16 -04:00
Zertex
0bdae8f7e3
Add forgotten derives to Emoji
2023-05-26 22:37:20 -04:00
Zertex
bbefab926c
Extract private fields to symfonia, type lock fields
2023-05-26 22:29:20 -04:00
Zertex
1420ba1696
serde(skip) ids where full objects are returned
2023-05-26 16:24:42 -04:00
Zertex
86dcfb2c3b
serde(skip) ids where full objects are returned
2023-05-26 16:23:33 -04:00
Zertex
8fcd64f87d
Flesh out and properly feature lock fields on Attachment
2023-05-26 16:00:15 -04:00
Zertex
b885e13922
Flesh out and properly feature lock fields on Application
2023-05-26 15:25:40 -04:00