Still Hsu
3ef78a90e0
Add XML docs & minor optimizations
7 years ago
Still Hsu
d9321d160e
Merge branch 'dev' into docs/pre-release
7 years ago
Finite Reality
aadd6f639f
Add missing fields to new MemberInfo type ( #1107 )
7 years ago
Still Hsu
535746fb20
Add XML docs
7 years ago
Still Hsu
fb46f9a567
Merge pull request #5 from sarcasmloading/docs/pre-release
Documented remaining audit log data types
7 years ago
sarcasmloading
b27051bfb1
[EN] Present perf. -> past perf.
7 years ago
Still Hsu
156039e5a0
Merge branch 'docs/pre-release' of https://github.com/Still34/Discord.Net into docs/pre-release
7 years ago
sarcasmloading
cb35aa2b67
Contains -> Contains a piece of (describe article)
7 years ago
Still Hsu
aa7d12d32b
Merge remote-tracking branch 'upstream/dev' into docs/pre-release
7 years ago
Casino Boyale
bd51b9bdb2
Added RestMessage documentation
7 years ago
Casino Boyale
09cd5b8ded
Added RestRole documentation
7 years ago
Casino Boyale
1789a8158c
Added RestUser documentation
7 years ago
Casino Boyale
c9ef0e26e2
Added RestVoiceChannel documentation
7 years ago
Casino Boyale
44c526298e
Added RestTextChannel documentation
7 years ago
Casino Boyale
908f29b548
Added RestGuildChannel documentation
7 years ago
Casino Boyale
b40ab464cc
Added RestDMChannel documentation
7 years ago
Still Hsu
245806fe3d
Initial refactor ( #1103 )
7 years ago
sarcasmloading
1f4718e60c
Merge branch 'docs/pre-release' of https://github.com/Still34/Discord.Net into docs/pre-release
Merge remote upstream
7 years ago
sarcasmloading
d4598bac11
Document remaining audit log data types
7 years ago
sarcasmloading
812399a42c
Documented RoleCreateAuditLogData
7 years ago
sarcasmloading
541b473d59
Documented two more types
7 years ago
Still Hsu
d11693eb6f
Merge branch 'dev' into docs/pre-release
7 years ago
sarcasmloading
ac96af3431
Fix English posession
7 years ago
sarcasmloading
580d30fcb5
Fix some documentation issues and document some more audit log data types
7 years ago
sarcasmloading
060bf1fc91
Change audit log data types to start with 'Contains' (verb) instead of an article
7 years ago
sarcasmloading
e85fca6b45
Added documentation for many audit log data types, fixed vowel indefinite articles
7 years ago
Still Hsu
b2f0043952
Fix typo in audit log interface declaration ( #1104 )
7 years ago
Still Hsu
b940ecb95e
Add XML docs & patch return types
+ Starting from this commit, all return types for tasks will use style similar to most documentations featured on docs.microsoft.com
References:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.dbcontext.-ctor?view=efcore-2.1
https://docs.microsoft.com/en-us/dotnet/api/system.io.filestream.readasync?view=netcore-2.1
https://docs.microsoft.com/en-us/dotnet/api/system.io.textwriter.writelineasync?view=netcore-2.1#System_IO_TextWriter_WriteLineAsync_System_Char ___
And many more other asynchronous method documentations featured in the latest BCL.
7 years ago
Still Hsu
7e76fda733
Merge remote-tracking branch 'upstream/dev' into docs/pre-release
7 years ago
Still Hsu
ffe994a9df
Mark guild optional in invite & general invite improvement ( #1094 )
* Mark guild as optional for invite
* Mark partial InviteMetadata members as Optional<T>
* Some of them aren't sent when requesting through the general GET invite endpoint
* Remove GetInviteParams
* It was kinda stupid in the first place, might as well always get the count instead of having to ask the user whether they want the two fields filled or not.
* Add ChannelType property
* Add vanity invite support
7 years ago
Still Hsu
9a3aa1bb64
Add XML documentations
7 years ago
Still Hsu
706442fcec
Fix styling of several member documentation
* Fix ' />' caused by Agent Smith oddities
* Fix styling to be more specific about the mention of IDs
7 years ago
Still Hsu
103576d927
Add XML docs
7 years ago
Still Hsu
18c0146582
Merge branch 'dev' into docs/pre-release
7 years ago
HelpfulStranger999
033d31294f
Creates full guild user object, resolves #1047 ( #1078 )
7 years ago
Still Hsu
45edfaf87d
Add a missing change for 2c7cc738
7 years ago
Still Hsu
2c7cc7386a
Replace InvalidPathChars for NS1.3
* InvalidPathChars does not exist in NS1.3; replaced with GetInvalidPathChars instead.
7 years ago
Still Hsu
e31e973bf5
Fix EnterTypingState impl for doc inheritance
7 years ago
Still Hsu
15b58edb19
Remove/cleanup redundant variables
7 years ago
Still Hsu
6a8699c4b6
Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline
7 years ago
NovusTheory
890904f32c
Allow external VoiceChannel client API implementation ( #1057 )
* ConnectAsync(bool external) API implemented
This allows developers to handle the AudioClient externally (for example with Lavalink)
* Modify ConnectAsync API and add DisconnectAsync to IAudioChannel
* Update summary message on IAudioChannel.DisconnectAsync()
* Review changes:
- Fix `if (!external)` styling
- Remove unecessary ConnectAsync overload
* SocketVoiceChannel overload update
* Update IAudioChannel.ConnectAsync()
- Remove ConfigAction from parameters
- Add SelfDeafen/SelfMute to parameters
* Remove SocketVoiceChannel.ConnectAsync() default params (Inherit)
7 years ago
Still Hsu
f4fb027ea9
Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline
7 years ago
Christopher F
a718a7d3c2
cleanup: Remove ChannelHelper#IsNsfw
Closes #1074
This code was not referenced anywhere in the active codebase.
7 years ago
FiniteReality
683b3f2701
Mark ChannelHelper.IsNsfw Obsolete
Discord no longer treats channels prefixed with 'nsfw' as NSFW,
so we no longer need to have this check.
7 years ago
Still Hsu
d74c52873f
Merge branch 'dev' into docs/faq-n-patches-offline
7 years ago
Christopher F
8fb2c71814
Add new member objects to events
7 years ago
Still Hsu
341b9588d6
Add documentation
7 years ago
Still Hsu
1a146afbe1
Merge branch 'dev' into docs/faq-n-patches-offline
7 years ago
Chris Johnston
f9cbff5e42
Fix #995 , Move Category Implementation from IGuildChannel to INestedChannel ( #1004 )
* Fix #995 ICategoryChannel.CategoryID throws NotSupportedException
* Add tests
* change run mode of TestChannelCategories
* Add throw for GetCategoryAsync
* Add xml doc explaining why exception is thrown
* Add test coverage for text and voice channel categories
* initial implementation of INestedChannel
* more implementation of INestedChannel design
* Add case in RestChannel Create for Category type
* set the CategoryID for RestVoiceChannel
* rewrite channel category tests to work with existing pattern
* remove outdated todo
* Make IVoiceChannel implement INestedChannel
* remove redundant interface implementation
* Add c#7 feature from feedback
* Remove redundant GetCategoryAsync methods from socket entities
* Added configureawait to async methods
* change signature of interface GetCategoryAsync
* Add check for cachemode in rest channel GetCategory
* remove redundant IGuildChannel interface from ITextChannel and IVoiceChannel
7 years ago
FiniteReality
4d8764e124
Refactor RoleInfo types into separate classes
- Fixes indentation with a few files (looks like a bad copy+paste job)
- Renames RoleInfo to RoleEditInfo
- Moves RoleInfo from MemberRoleAuditLogData into its own class
All of this should improve docs.
7 years ago