Still Hsu
112fe72374
Merge branch 'dev' into docs/pre-release
7 years ago
Still Hsu
6d355ed125
Add XML docs & rewrite GetMessagesAsync docs
This commit rewrites the remarks section of GetMessagesAsync, as well as adding examples to several methods.
7 years ago
Still Hsu
ec97895c41
Fix lots of typos in comments
+ Geez, I didn't know there were so many.
7 years ago
Still Hsu
82cfdffc65
Add various optimizations and cleanups ( #1114 )
* Change all Select(... as ...) to OfType
* Add changes according to 194a8aa427
7 years ago
Chris Johnston
2de6cef18c
Add validation to bot tokens based on string length ( #1128 )
* Add input validation for bot tokens based on their length
* Add token validation to BaseDiscordClient#LoginAsync
Adds a TokenUtils class which is used to validate that tokens are correct
* Revert changes to DiscordRestApiClient
* Add Unit tests to the TokenUtils class, fix a logic error that was caught by those tests
* Allow for API to throw exceptions
Moves the validation of tokens to be inside of LoginInternalAsync, and writes a Warning to the console when the supplied tokens are invalid
7 years ago
Still Hsu
e0a321a3f1
Merge branch 'dev' into docs/pre-release
7 years ago
Finite Reality
efdb4f9266
Pass our json serializer to ToObject calls ( #1133 )
Should fix issues in audit logs when deserializing overwrites and
similar types which we use a custom contract resolver for.
7 years ago
Still Hsu
ae090fb316
Merge branch 'dev' into docs/pre-release
7 years ago
Joe4evr
2c3e9193c2
Implement ISnowflakeEntity for Audit Log entries
7 years ago
Casino Boyale
0b2dbffe88
Missed a period
7 years ago
Casino Boyale
2f41896cdf
Added some class summaries
7 years ago
Still Hsu
d00e3360fe
Merge pull request #7 from CasinoBoyale/Casino-Docs
Added some REST documentation
7 years ago
Casino Boyale
0fd59f8840
Amendments
7 years ago
Casino Boyale
e823fc2333
Added RestGuild documentation
7 years ago
Casino Boyale
17847e95e2
Added RestDMChannel documentation
7 years ago
Casino Boyale
ba8515a5d3
Amendments to RestUser
7 years ago
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
Casino Boyale
a282cfd217
Added RestInvite documentation
7 years ago
Casino Boyale
afb007fd09
Added RestUser Documentation
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