Commit Graph

3244 Commits

Author SHA1 Message Date
Max
4b8d4441c5 feature: Add Discord Certified Moderator user flag (#1844)
This pull request adds the Discord Certified Moderator badge flag to the User Flags
PR in discord-api-docs: https://github.com/discord/discord-api-docs/pull/2946
2021-05-22 14:30:08 -03:00
moiph
8afef8245c fix: Cached message emoji cleanup at MESSAGE_REACTION_REMOVE_EMOJI (#1835)
MESSAGE_REACTION_REMOVE_EMOJI events were triggering REST calls by invoking `RemoveAllReactionsForEmoteAsync` instead of `RemoveReactionsForEmote`, the latter being to handle cached message state cleanup.
2021-05-08 15:45:53 -03:00
Zack Broderson
4c9910cf71 (ifcbrk) feature: Add ability to add/remove roles by id (#1757)
* Scaffold Add/Remove roles by id. (needs impl & docs)

* Add docs

* Add implementation

* Expose Add/Remove role endpoints

* Formatting

* Fix wrong method call
2021-04-29 11:34:52 -03:00
Paulo
365a848f7a (ifcbrk) feature: Add ModifyMessageAsync to IMessageChannel (#1830) 2021-04-29 11:33:39 -03:00
Playwo
5b244f215b feature: Add methods to interact with reactions without a message object (#1828) 2021-04-28 11:42:58 -03:00
Adam Gauthier
c46daaad19 fix: Add type reader when entity type reader exists (#1486)
When adding a type reader that replaces a default type reader,
CommandService checks that it replaces a type in its default type
readers or entity type readers (IMessage, IChannel, IRole, IUser). For
entity types, it checks that the target type is the same as the entity
type or it implements its type reader. Adding a type reader for a
default type reader doesn't make much sense and the original intent was
likely to check that the target type is or implements the entity type.
2021-04-28 11:30:16 -03:00
NeKz
df23d57458 feature: Add GetEmotesAsync to IGuild (#1781) 2021-04-28 11:08:56 -03:00
Waterball
0715d7db96 Feature: Add missing property to MESSAGE_REACTION_ADD event (#1801)
* Add guild member property for reaction

* Use the guild member provided by the event when present
2021-04-28 10:59:31 -03:00
Waterball
6aff419edd misc: Fix spelling in SnowflakeUtils.FromSnowflake (#1800)
```diff
--- geenrated
+++ generated
```
2021-04-28 10:50:41 -03:00
Yeba
25b04c4a97 misc: Remove URI check from EmbedBuilder (#1778)
`Uri.IsWellFormedUriString()` doesn't return the expected result for specific urls, removed until the DotNet team actually resolves it ( https://github.com/dotnet/runtime/issues/21626 )
2021-04-28 10:48:15 -03:00
Desmont
f67cd8ea55 feature: Webhook message edit & delete functionality (#1753)
* feature: Webhook message edit & delete functionality

* PR fixes: Rename Edit* to Modify*; Add more detailed docstrings; Small validation fixes

* Fix spacing around docstrings

* Make ModifyWebhookMessageParams.Content Optional<string>

* Change the Webhook message edit functionality to use a object delegate method instead providing the all parameters

Co-authored-by: Desmont <desmont@users.noreply.github.com>
2021-04-28 10:15:16 -03:00
Paulo
91a906397a feature: Add stickers (#1726) 2021-04-28 10:11:28 -03:00
Paulo
c21cf48be3 meta: Bump version to 2.4.0-dev (#1827) 2021-04-28 10:03:30 -03:00
PoofImaFox
86dc89e821 Fix error in example. (#1807) 2021-04-28 09:55:57 -03:00
Paulo
452f2dca7c Remove foxbot.me docs link 2021-04-28 09:53:14 -03:00
Paulo
1b64d19c84 meta: 2.3.1 (#1795) 2021-03-10 16:59:38 -03:00
Paulo
d41aeee4fe fix: Audit log UserId can be null (#1794) 2021-03-10 16:50:14 -03:00
Alex Gravely
d2518db9a8 fix: Update Webhook ChannelId from model change (#1791) 2021-03-10 16:22:00 -03:00
Paulo
51b7afe2a6 misc: Add remark regarding CustomStatus as the activity (#1774)
* Throw exception with CustomStatus

* Add remark instead of exception

* Change wording
2021-03-10 16:07:31 -03:00
NeKz
f794163ffa fix: NullReferenceException in pin/unpin audit logs (#1780) 2021-03-10 16:07:19 -03:00
NeKz
6ac5ea1cbb fix: Add ChannelType property to ChannelInfo audit log (#1786) 2021-03-10 14:50:48 -03:00
Antonio Zdravkov Nikolov
0fc713a897 fix: Private methods aren't added as commands (#1773)
Fix breaking change introduced by #1521
2021-02-09 21:04:32 -03:00
Yeba
73e5cc2fbc fix: Deadlock in DiscordShardedClient when Ready is never received (#1761)
* fixed a deadlock in DiscordShardedClient during a failed Identify due to InvalidSession

* fixed log

* Don't wait ready before releasing semaphore

Co-authored-by: Paulo <pnmanjos@hotmail.com>
2021-01-31 03:13:09 -03:00
Paulo
83e88f4fb9 meta: Bump version to 2.3.1-dev 2021-01-30 23:40:33 -03:00
Paulo
6bb54577ab meta: 2.3.0 2021-01-28 19:13:18 -03:00
Paulo
2095701665 fix: Missing MessageReference when sending files 2021-01-21 18:08:46 -03:00
quinchs
8b25c9bbfb feature: Add GuildUser IsPending property (#1731)
* Implemented Pending property

* Implemented changes
2020-12-23 12:47:54 -03:00
Paulo
225550dc5a feature: Add MessageFlags and AllowedMentions to message modify (#1724)
* feature: Add MessageFlags and AllowedMentions to Modify

* Change exception message
2020-12-23 12:47:20 -03:00
Paulo
c683b2901d feature: Add user public flags (#1722) 2020-12-23 12:46:42 -03:00
Paulo
6a62c4770c feature: Add role tags (#1721) 2020-12-23 12:46:27 -03:00
Paulo
5934c7949a misc: VoiceRegions and related changes (#1720) 2020-12-23 12:46:12 -03:00
Paulo
4a7f8fec93 fix: Move and fix internal AllowedMentions object (#1727) 2020-12-20 07:37:32 -03:00
Paulo
a4d32d366d fix: IMessage.Embeds docs remarks 2020-12-20 07:09:44 -03:00
Still Hsu
accd3510df docs: Add alternative documentation link 2020-12-20 18:46:58 +09:00
Fyers
dd2e524ff9 fix: Invite and InviteMetadata properties (#1639)
* fixes #1495

* keep obsolete properties and return types for compatibility

* missing properties for SocketInvite

* Restore xml docs and change obsolete message

Co-authored-by: Paulo <pnmanjos@hotmail.com>
2020-12-19 11:39:09 -03:00
Still Hsu
36de7b25f3 Temporarily disable StyleCops until all the fixes are impl'd 2020-12-17 13:15:19 +08:00
Still Hsu
a48e46de52 docs: Fix the missing "In This Article" section 2020-12-14 12:25:51 +08:00
Still Hsu
2cd1880228 docs: Add minor tweaks to DiscordSocketConfig docs strings 2020-12-14 12:18:58 +08:00
Still Hsu
e31cdc7586 docs: Fix MaxWaitBetweenGuildAvailablesBeforeReady docs string
Signed-off-by: Still Hsu <dev@stillu.cc>
2020-12-14 12:07:24 +08:00
Still Hsu
4988a0764d Update framework version for tests to Core 3.1 to comply with LTS 2020-12-14 12:00:53 +08:00
Still Hsu
e0f8737c35 Add initial StyleCops style enforcement 2020-12-14 12:00:53 +08:00
Still Hsu
8f8078e969 Update project link 2020-12-14 12:00:53 +08:00
Still Hsu
d761846638 Add updated libraries for LastModified
Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com>
2020-12-14 12:00:52 +08:00
Still Hsu
28a6f97d62 Update Docfx.Plugins.LastModified to v1.2.4
Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com>
2020-12-14 12:00:51 +08:00
Still Hsu
833ee42a1f Cleanup GatewayReconnectException docs 2020-12-14 11:59:33 +08:00
Still Hsu
13a41f8754 Mark null as a specific langword in summary 2020-12-14 11:59:32 +08:00
Still Hsu
62539f0391 Move bulk deletes remarks from <summary> to <remarks> 2020-12-14 11:59:32 +08:00
Still Hsu
9ea3291ef1 Resolve inheritdocs warning 2020-12-14 11:59:32 +08:00
Still Hsu
38f6186cd0 Add missing asset
Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com>
2020-12-14 11:59:31 +08:00
Still Hsu
857ef77b41 Add new method of role ID copy
Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com>
2020-12-14 11:59:31 +08:00