Still Hsu
481b27d884
Add CreateTextChannel sample
7 years ago
Still Hsu
a08f083775
Merge branch 'dev' into docs/pre-release
7 years ago
Christopher F
232f525b59
lint: refactor SlowMode -> SlowModeInterval
this was the name change i always wanted
7 years ago
Christopher F
97d17cfdda
api: add slow mode
This adds the following property to ITextChannel
- SlowMode (int)
The SlowMode field defines the time in seconds users must wait between
sending messages; if zero, slow-mode is disabled.
Bots are not affected by slow-mode, and as such, no changes need to be
made to the REST client's internal ratelimiting. This is strictly a
read/write cosmetic property for bots.
7 years ago
Still Hsu
4197f8b237
Cleanup https://github.com/RogueException/Discord.Net/pull/1139
7 years ago
Still Hsu
23ed0ec61a
Merge branch 'dev' into docs/pre-release
7 years ago
Chris Johnston
9e9a11d4b0
Fix swapped parameters in ArgumentException, ArgumentNullException cstrs ( #1139 )
* Fix swapped parameters in ArgumentException and ArgumentNullException cstrs
The constructors of ArgumentException and ArgumentNullException are inconsistent with each other, which results in their parameters being swapped here and there.
* Use named parameters for ArgumentException constructors
Cleans up some of the methods of EmbedBuilder to use simpler syntax as well
7 years ago
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