Misha133
d07fc5ac53
Merge branch 'dev' into feature/automod
2 years ago
Misha133
0a84cac10a
reworkkkk
2 years ago
Casmir
0c27395efd
Fix gateway deadlock ( #2600 )
Co-authored-by: Quin Lynch <lynchquin@gmail.com>
2 years ago
Dedmen Miller
50e0e5941a
Add ModalBuilder.AddModalCommand with option to specify callback ( #2599 )
Fixes : #2597
2 years ago
NaN
257f246d1d
Format the project with 'dotnet format' ( #2551 )
* Sync and Re-Format
* Fix Title string.
* Fix indentation.
2 years ago
Jan
71e9ecb21e
Fix example of documentation ( #2594 )
2 years ago
Misha133
d9c287d03c
missing xml doc
2 years ago
dependabot[bot]
6ef52f1dd8
build(deps): bump Newtonsoft.Json in /src/Discord.Net.Core ( #2527 )
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.2 )
---
updated-dependencies:
- dependency-name: Newtonsoft.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Casmir
df88d11647
Update src/Discord.Net.Rest/DiscordRestApiClient.cs
2 years ago
Casmir
e364b3ae7c
Apply suggestions from code review
2 years ago
Misha133
bb056dfec0
[Feature] Follow news channels ( #2590 )
* initial commit
* Apply suggestions from code review
---------
Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com>
2 years ago
Misha133
2ea8af1dde
[Feature] Add support for silent mentions & add missing message flag ( #2591 )
* initial commit
* typo
2 years ago
Christopher Bonnell
274be5df9e
Fix permissions on deleteMissing=false ( #2532 )
2 years ago
Misha133
9ee5c80430
add Download func to cacheable user
2 years ago
Misha133
fc5ddde215
update limits
2 years ago
Misha133
b085621ca6
[Feature] Thread user member & thread members pagination ( #2580 )
* initial commit
* return & update old method
* mark old method as obsolete
2 years ago
Misha133
75f3c91f9a
IIntegrationChannel & create webhooks in forums ( #2582 )
2 years ago
Casmir
59c2008eaa
Doc patch ( #2587 )
2 years ago
Misha133
0998285f83
[Feature] Rework `Thread` property of a message ( #2579 )
* move `Thread` property to `IUserMessage` & add one to `SocketUserMessage`
* get channel from cache instead of creating new object
* move the property back to IMessage
2 years ago
Misha133
e3da96fbf5
[Feature] Expose `GetCurrentUser` method & missing current user API methods ( #2574 )
* add stuff
* forgot to push
* docs
* Update DiscordRestClient.cs
* Apply suggestions from code review
* Update toc.yml
---------
Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com>
2 years ago
Cenk Ergen
2616d350ba
[Feature] App Command Perms Channel Target ( #2560 )
* Implement channel ApplicationCommandPermissionTarget
* implement channel target in ApplicationCommandPermission and add static methods for targeting @everyone and all channels
2 years ago
Cenk Ergen
1602437c31
Update customId template generator to escape regex metachars used in … ( #2557 )
* update customId template generator to escape regex metachars used in template literals
* add clarification to TreatAsRegex prop documentation.
* Implement channel ApplicationCommandPermissionTarge
* implement channel target in ApplicationCommandPermission and add static methods for targeting @everyone and all channels
* Revert "add clarification to TreatAsRegex prop documentation."
This reverts commit 6eab5878a7 .
* fix oopsie
2 years ago
Chos5555
23b282299c
Added emojis from Emoji 13.0, Emoji 13.1 and Emoji 14.0 ( #2523 )
2 years ago
marik354
14b29010d7
Reduce DateTime Boilerplate from LogMessage ( #2572 )
2 years ago
Misha133
1e21a6ed4a
[Feature] Add missing VoiceChannel properties ( #2573 )
* add missing properties
* forgot about `MockedVoiceChannel`
2 years ago
Twinki
0af835ab0f
Fix GetEventCoverImageUrl by removing the GuildId in the Url string ( #2577 )
2 years ago
Cenk Ergen
e7bda0f8a5
[Feature] RespondWithModal() which accepts an IModal instance as template ( #2564 )
* introduce overload for responding to an interaction with an instatiated IModal obj
* add inline docs to ModalInfo.PropertyInfo
* Apply suggestions from code review
Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com>
---------
Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com>
2 years ago
Misha133
13ed901c52
forgot nullability
2 years ago
Misha133
87c746db9c
public automod rules collection in a socketgulild
2 years ago
Misha133
6c591b48a4
commentsssss
2 years ago
Misha133
14cf9e9953
fix null issue
2 years ago
Misha133
afc98e3286
working state
2 years ago
Misha133
8b76ac2b17
started working on rule builder
2 years ago
Misha133
4ab46e0d63
working events
2 years ago
Misha133
ef1c0362df
started working on rule cache
2 years ago
Misha133
941d3922f4
add placeholder methods
2 years ago
Misha133
fff85d41da
comments, rest entity, guild methods
2 years ago
Misha133
5a430f9e48
made some properties optional
2 years ago
Misha133
8657fbac26
somewhat working auto mod action executed event
2 years ago
Misha133
b5f96806c4
update models
2 years ago
Misha133
1a195b7f76
Merge remote-tracking branch 'upstream/feature/automod' into feature/automod
2 years ago
Misha133
91e208474d
[Feature] add `Thread` property to `RestMessage` ( #2575 )
2 years ago
Misha133
37d868f934
[Feature] Application Role Connections Metadata support ( #2530 )
* models & internal methods
* moar stuff
* working `Get` & `ModifyRoleConnectionMetadata`
* comments & dots
* get & modify user's role connection
* Update src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnection.cs
* Update src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnection.cs
Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com>
2 years ago
Misha133
7d8d6ec1a6
[Feature] Add support for Guild Member Flags ( #2571 )
* implement `GuildUserFlags`
Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com>
2 years ago
Misha133
94996e7331
Remove outdated checks ( #2561 )
2 years ago
SaculRennorb
493f604bb1
[Bugfix] fixed an NRE when event was changed from in channel to external or vice versa ( #2483 )
* fixed an issue when event was cahnged from in channel to external or vice versa
* simplidied location field
2 years ago
Christopher Bonnell
e71faf7138
Repurpose reason field ( #2540 )
2 years ago
Gradyn Wursten
7acbcfdfa5
#2536 Add RemoveModulesFromGuildAsync ( #2537 )
* Add RemoveModulesFromGuildAsync
* fix RemoveModulesFromGuildAsync
* add docs
* fix parameter name
2 years ago
Misha133
a3ee8555c6
[Feature] Add new message types & error codes ( #2562 )
* Add new message types & error codes
* add role subscription system channel flags and message property
2 years ago
Christopher Bonnell
f224eb0523
Resolve inconsistencies ( #2542 )
This commit resolves inconsistencies in missing null coalescent operators in regards to clearing components using null.
2 years ago