Still Hsu
2c7cc7386a
Replace InvalidPathChars for NS1.3
* InvalidPathChars does not exist in NS1.3; replaced with GetInvalidPathChars instead.
7 years ago
Still Hsu
67eb473326
Cleanup styling of README.md for docs
7 years ago
Still Hsu
105182f53a
Clarify token source
7 years ago
Still Hsu
934dc370f5
Move samples to individual folders
7 years ago
Still Hsu
94ca53ca31
Improve precondition documentation
+ Add precondition usage sample
+ Add precondition group usage sample
+ Move precondition samples to its own sample folder
7 years ago
Still Hsu
5269c1bf4c
Fix Test to resolve changes made in 15b58e
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
ddc3242e71
Improve group module example
7 years ago
Still Hsu
ddfd011b86
Fix typos & formatting
7 years ago
Still Hsu
9a7e65cf6b
Revise guide paragraphs/samples
+ Fix various formatting.
+ Provide a more detailed walkthrough for dependency injection.
+ Add C# note at intro.
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
17a4af71ee
Add documentation for new API version & few events
7 years ago
Still Hsu
f4fb027ea9
Merge remote-tracking branch 'upstream/dev' into docs/faq-n-patches-offline
7 years ago
HelpfulStranger999
3acf2a9a6b
Refactors readMessages, fixing from #1033 ( #1075 )
7 years ago
Christopher F
513a489bf8
codefix: add VoiceAPIVersion constant to DiscordConfig
7 years ago
Christopher F
9ba38d7796
api: upgrade audio client to VoiceWS v3
7 years ago
Christopher F
64d8938ed5
fix: Discord does not always send the member on VOICE_STATE_UPDATE
some guilds aren't on g250k yet? not sure
7 years ago
FiniteReality
aeb3095593
Remove Debug.Print call causing tests to fail
Forgot to hit save properly... Whoops.
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
0c7cb73b06
Fix permission-related ViewChannel tests
7 years ago
FiniteReality
415e2f7739
Fix analyzer warnings with tests
Use (actual, expected) format for Assert.Equal, fixes analyzer warnings
7 years ago
FiniteReality
b0042606b6
Move RpcCategoryChannel into the correct project
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
237ad0f867
Revert "fix: Properly rethrow exceptions in SocketGuild audio client"
This reverts commit adf4da19fc .
Someone hasn't written c# in a while
7 years ago
Christopher F
adf4da19fc
fix: Properly rethrow exceptions in SocketGuild audio client
7 years ago
Christopher F
c0c565fd7e
retain fallback case for if user is still null
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
2df635e025
Merge pull request #1 from Chris-Johnston/better-documentation-for-quotation-mark-aliases
Improve XML docs for commands quotation mark aliases feature
7 years ago
Still Hsu
180b20dd02
Add documentation for new INestedChannel
7 years ago
Still Hsu
e9f72b6ece
Fix missing service provider in example
7 years ago
Chris Johnston
9995cab40c
Merge branch 'docs/faq-n-patches-offline' into better-documentation-for-quotation-mark-aliases
7 years ago
Chris Johnston
a8d3031b2d
Add explanation that if " is removed then it wont work
7 years ago
Chris Johnston
cb7c6d3546
Add reference to CommandServiceConfig from the util docs'
7 years ago
Chris Johnston
110b97513f
Add more XML comments to quotation mark alias map stuff, including an example
7 years ago
Still Hsu
1a146afbe1
Merge branch 'dev' into docs/faq-n-patches-offline
7 years ago
Chris Johnston
a06e21261c
Fix ChannelPermissions Modify parameter to be correct default value ( #1003 )
* fix channel permissions modify parameter to use nullable boolean, correct default value
* Add general tests for the ChannelPermissions.Modify method to test default values
* remove unused cast in tests
* add guildpermission modify no param tests
* Add no-param modify tests for OverwritePermissions
* fix inconsistent parameters in GuildPermissions cstr
* Adjust formatting of methods and cstrs with many parameters
* remove temp file that was included. no idea what that is
* Fix System dependency
I should really stop fixing merge conflicts in the github website.
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
Still Hsu
cb57ada8d9
Add partial documentation for audit log objects
7 years ago
Still Hsu
afda0cd172
Add documentation for some REST-based objects
7 years ago
Still Hsu
098ead93d9
Add partial documentation for audit log impl
7 years ago
Still Hsu
5d1621a9c5
Fix xml docs error
7 years ago
Still Hsu
596b47e1b8
Merge branch 'dev' into docs/faq-n-patches-offline
7 years ago
Still Hsu
3f572ccc0d
Merge branch 'docs/faq-n-patches-offline' of https://github.com/Still34/Discord.Net into docs/faq-n-patches-offline
7 years ago
Still Hsu
73ebc02580
Fix light theme link color
7 years ago
Chris Johnston
fa759a22ea
Remove Build Warnings for Obsolete Guild Permission Read Messages ( #1067 )
- Replaces the usages of `ReadMessages` with `ViewChannel`
- Renames the read message parameters of `GuildPermissions#Modify` to be view channel as well
7 years ago