Jan
71e9ecb21e
Fix example of documentation ( #2594 )
2023-02-09 21:59:17 +00:00
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>
2023-02-09 17:10:27 +01:00
Misha133
bb056dfec0
[Feature] Follow news channels ( #2590 )
...
* initial commit
* Apply suggestions from code review
---------
Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com >
2023-02-09 16:45:04 +01:00
Misha133
2ea8af1dde
[Feature] Add support for silent mentions & add missing message flag ( #2591 )
...
* initial commit
* typo
2023-02-09 16:39:43 +01:00
Christopher Bonnell
274be5df9e
Fix permissions on deleteMissing=false ( #2532 )
2023-02-09 16:36:17 +01:00
Misha133
b085621ca6
[Feature] Thread user member & thread members pagination ( #2580 )
...
* initial commit
* return & update old method
* mark old method as obsolete
2023-02-09 12:37:26 +01:00
Misha133
75f3c91f9a
IIntegrationChannel & create webhooks in forums ( #2582 )
2023-02-09 12:36:35 +01:00
Casmir
59c2008eaa
Doc patch ( #2587 )
2023-02-07 13:44:44 +00:00
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
2023-02-06 18:35:09 +01:00
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 >
2023-02-06 17:20:54 +01:00
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
2023-02-06 13:28:42 +01:00
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 6eab5878a7ddff4e949a90d446f2e3dfe2e9c506.
* fix oopsie
2023-02-06 13:27:42 +01:00
Chos5555
23b282299c
Added emojis from Emoji 13.0, Emoji 13.1 and Emoji 14.0 ( #2523 )
2023-02-06 13:27:07 +01:00
marik354
14b29010d7
Reduce DateTime Boilerplate from LogMessage ( #2572 )
2023-02-06 13:26:42 +01:00
Misha133
1e21a6ed4a
[Feature] Add missing VoiceChannel properties ( #2573 )
...
* add missing properties
* forgot about `MockedVoiceChannel`
2023-02-06 13:25:59 +01:00
Twinki
0af835ab0f
Fix GetEventCoverImageUrl by removing the GuildId in the Url string ( #2577 )
2023-02-06 13:16:31 +01:00
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 >
2023-02-06 13:52:16 +03:00
Misha133
91e208474d
[Feature] add Thread property to RestMessage ( #2575 )
2023-01-27 21:16:12 +01:00
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 >
2023-01-26 01:20:58 +01:00
Misha133
7d8d6ec1a6
[Feature] Add support for Guild Member Flags ( #2571 )
...
* implement `GuildUserFlags`
Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com >
2023-01-23 19:44:34 +01:00
Misha133
94996e7331
Remove outdated checks ( #2561 )
2023-01-21 11:54:25 +01:00
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
2023-01-21 11:53:58 +01:00
Christopher Bonnell
e71faf7138
Repurpose reason field ( #2540 )
2023-01-21 11:53:23 +01:00
Gradyn Wursten
7acbcfdfa5
#2536 Add RemoveModulesFromGuildAsync ( #2537 )
...
* Add RemoveModulesFromGuildAsync
* fix RemoveModulesFromGuildAsync
* add docs
* fix parameter name
2023-01-21 11:52:37 +01:00
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
2023-01-21 11:50:57 +01:00
Christopher Bonnell
f224eb0523
Resolve inconsistencies ( #2542 )
...
This commit resolves inconsistencies in missing null coalescent operators in regards to clearing components using null.
2023-01-21 11:49:35 +01:00
Gediminas Milašius
02d3ce6e01
Fix NullReferenceException caused by Options being undefined. ( #2549 )
2023-01-21 11:48:36 +01:00
Zach Goodson
4aded83ab6
Fixed typo in code example. ( #2552 )
2023-01-21 11:47:39 +01:00
Ikko Ashimine
1d53ea7679
[Docs] Fix typo in autocompletion.md ( #2548 )
...
Interations -> Interactions
2022-12-25 16:53:00 -04:00
Misha133
7c535b952a
[Feature] add missing invite guild properties & welcome screen support ( #2510 )
...
* added models
* working getter for welcome screen
* <see langword="null"/>
* more changes
* modify welcome screen support
* fix some typos & remove `using` added by VS
* Working-ish state
* Resolve some reviews
* change access modifier
* forgot to add docs
* revert to InviteGuild & extend it
* resolve some reviews
* Apply suggestions from code review
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com >
Co-authored-by: Cenk Ergen <57065323+Cenngo@users.noreply.github.com >
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com >
2022-12-25 17:40:05 +03:00
Misha133
48fb1b5df4
[Feature] Selects v2 support ( #2507 )
...
* Initial support for new select types
* Merge branch 'dev' of https://github.com/discord-net/Discord.Net into dev
* some component&action row builder additions
* remove redundant code
* changes1
* maybe working rest part?
* working-ish state?
* fix some xml docs & small rework
* typos
* fix `ActionRowBuilder`
* update DefaultArrayComponentConverter to accomodate new select-v2 types
* now supports dm channels in channel selects
* add a note to IF docs
* add notes about nullable properties
* <see langword="null"/>
* update Modal.cs
Co-authored-by: cat <lumitydev@gmail.com >
Co-authored-by: Cenngo <cenk.ergen1@gmail.com >
2022-12-25 13:41:15 +01:00
Misha133
c67642acfa
fix CreatePostError ( #2546 )
2022-12-25 13:36:33 +01:00
Quin Lynch
e9e687caf7
fix changelog date ( #2545 )
2022-12-23 21:28:48 +00:00
Quin Lynch
5c9be0d03a
meta: update changelog ( #2544 )
2022-12-23 18:20:42 +03:00
Misha133
a53f1dfa58
fix CreatePost methods for IForumChannel ( #2541 )
2022-12-23 14:56:00 +01:00
Misha133
56b1a930e7
[Feature] Age restricted (NSFW) application commands support ( #2531 )
...
* add `nsfw` to data model & internal methods; add missing property
* add `nsfw` prop to command builders
* add `NsfwCommandAttribute` to Interaction Framework
* working state
* docs?
2022-12-20 01:00:56 +03:00
Cenk Ergen
60956c720b
Update deploy.yml ( #2535 )
2022-12-17 19:05:50 +03:00
Halbritter
20d8fdf0bf
Fully qualify SlashCommandBuilder namespace ( #2534 )
...
Update to make sure its cleear which SlashCommandBuilder is used.
2022-12-16 14:08:42 -04:00
Cenk Ergen
3b107c2d01
implement wildcard lenght quantifiers, TreatAsRegex property and solve catastrpohic backtracking ( #2528 )
2022-12-14 17:06:57 +03:00
BokuNoPasya
25cfb8822f
Add SendFiles to UserExtensions ( #2509 )
...
* Add SendFiles to UserExtensions
* fix Build
2022-12-14 03:00:59 -04:00
Frederik P
4cad546d57
Implemented ClientDisconnect event for audio client. ( #2520 )
2022-12-14 02:57:54 -04:00
Misha133
82b772ac03
[Feature] Add missing property & new stuff ( #2521 )
...
* add active developer badge support
* add `OwnerId` to threads
* add default forum layout support
* oops, forgot to update modifyasync
* add missing application flags
* Add `50155` error code
2022-12-14 02:57:06 -04:00
Misha133
bd2f719774
Fix GetActiveThreadsAsync & add it to ITextChannel ( #2526 )
...
* fix `GetActiveThreadsAsync` being sadge
* ah, forgot about mocked channel
2022-12-14 02:56:06 -04:00
Armano den Boef
55280a569e
meta 3.9.0 ( #2517 )
...
* meta 3.9.0
* Update changelog
2022-11-25 05:47:43 -04:00
Cenk Ergen
11ed0ff351
update license and icon nuspec props ( #2467 )
2022-11-22 14:05:40 +03:00
Cenk Ergen
6869817184
Command execution code rework and TypeConverters auto-scope fix ( #2306 )
...
* command execution rework and sync service scopes for typeconverters
* replace ValueTask with Task
* fix implementation bugs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com >
2022-11-22 14:05:26 +03:00
Payton
ea039b848c
Update events.cs ( #2505 )
...
Fixed compiler error caused by missing semicolon
2022-11-07 17:26:18 +01:00
Misha133
01ae904fe1
[Feature] Add missing properties in forum & thread channels ( #2469 )
...
* add `AppliedTags` property
* convert collections into immutable arrays
* remove "not supported" remark
* implement `ThreadChannelProperties`
* Add `DefaultSlowModeInterval` and `DefaultSlowModeInterval` properties to forum channels
* add `Moderated` property to `ForumTag``
* `ForumTag` inherits `ISnowflakeEntity`
* Fix `DiscordRestClient.GetChannelAsync` not getting forum channel
* a lot of changes
added:
- channel flags
- `ForumTagBuilder`
- imroved channel modification
* fixed a bug in forum tag emoji parsing
* inherit forum channel from `INesteeChannel`
* implement `INestedChannel` in forum channels
* Add `Flags` property to channels
* add iteraface for forum tags & add equality operators
* Add default reaction emoji property
* add support for modifing default reaction & some renaming
* add createForumChannelAsync to guild
* *fix resharper being a d... and moving code to next line*
* add a `ForumChannels` property
* Some fixes & add support for `default_sort_order`
* fix misleading comment
* fix #2502
* support creating post with applied tags
* fix xmldoc
* set category id on model update
* add limit checks for tag count
2022-11-07 17:25:49 +01:00
Ge
6712ef4573
Fix duplicated members of DiscordErrorCode ( #2500 )
...
Additionally, fix typo in DiscordErrorCode
2022-11-07 17:24:19 +01:00
Miha Zupan
7077c4469a
Avoid throwing on missing Application ( #2497 )
2022-11-07 16:49:46 +01:00