Tripletri
975067e6af
Upload file size limit fix
3 years ago
Armano den Boef
cea59b55ba
feature: Add Parse & TryParse to EmbedBuilder & Add ToJsonString extension ( #2284 )
* Add parse & tryparse to embedbuilder.
* Add tostring extension for embeds
* Modify comments
* Resolve suggestions
* Update src/Discord.Net.Rest/Extensions/StringExtensions.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Armano den Boef
a24dde4b19
feature: optional API calling to RestInteraction ( #2281 )
* Take 2
* Expose channel & guild Id for manual calling
* Make api calling optional at runtime
* Resolve build errors
* Bind runtime option to interaction type
* Expose methods to get channel & guild from API
* Patch out NRE's, test on all int types
3 years ago
Cenk Ergen
b465d609f0
fix: Application commands are disabled to everyone except admins by default ( #2293 )
3 years ago
Armano den Boef
1f01881beb
feature: Add DefaultArchiveDuration to ITextChannel ( #2295 )
3 years ago
Misha133
13ccc7c997
feature: Add `.With` methods to ActionRowBuilder ( #2296 )
* Added `.With` methods to `ActionRowBuilder`
- Added `.WithButton` & `.WithSelectMenu` methods to `ActionRowBuilder`
- fixed a typo
* removed `<exception>` from methods which don't directly throw an exception
* Update src/Discord.Net.Core/Entities/Interactions/MessageComponents/ComponentBuilder.cs
* Update src/Discord.Net.Core/Entities/Interactions/MessageComponents/ComponentBuilder.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Armano den Boef
6d21e42ddf
Replace Project- with PackageReference on samples. ( #2297 )
* Init
* Resolve errors
3 years ago
Armano den Boef
725d2557dd
fix: close-stage bucketId being null ( #2299 )
3 years ago
Armano den Boef
94a37156f3
Resolve NRE at get audit for Deleted User ( #2304 )
3 years ago
Cenk Ergen
6fbd396832
Add Nullable ComponentTypeConverter and TypeReader ( #2307 )
* add nullable ComponentTypeConverter and TypeReader
* add converter and reader to interactionservice
3 years ago
Nhea
b333de2237
feature: add UpdateAsync to SocketModal ( #2289 )
3 years ago
openmilk
b0a3b65bc0
feature: Webhook support for threads ( #2291 )
* Added thread support to webhooks
Added thread support to delete/send messages for webhooks
* Revert "Added thread support to webhooks"
This reverts commit c45ef389c5 .
* read added threads as im a dummy
* fixed formating
* Fixed modify EmbedMessage
3 years ago
Paulo
20ffa64525
fix: Possible NRE in Sanitize ( #2290 )
3 years ago
Quin Lynch
23656e844e
feature: Text-In-Voice ( #2269 )
* Initial implementation
* Remove blocking webhooks
* add safeguard for tiv
* fix tests
3 years ago
Quin Lynch
e136759073
feature: Treat warnings as errors and set warning level to 5 ( #2270 )
3 years ago
moiph
0ec8938a67
feature: Support FailIfNotExists on MessageReference ( #2283 )
Fixes #2282
3 years ago
Nikita Petko
5546c705ca
Remove old url reference in Discord.Net.nuspec ( #2286 )
Change organization name within Nuget manifest from RogueException to discord-net.
If there’s any other ones I missed, please point it out to me.
3 years ago
Quin Lynch
2f58ddc6a0
meta: 3.6.1
3 years ago
Quin Lynch
f2bb55e804
fix: null user on interaction without bot scope ( #2271 )
3 years ago
Discord-NET-Robot
503e720d21
feature: add 50080 Error code ( #2272 )
Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
3 years ago
Cenk Ergen
0d74c5cc62
fix: Implement fix for Custom Id Segments NRE ( #2274 )
3 years ago
Cenk Ergen
a8f607553b
fix: Permissions v2 Invalid Operation Exception ( #2267 )
* implement fix
* implement fix
3 years ago
Quin Lynch
27226f0839
meta: 3.6.0
3 years ago
Christoph L
0554ac2442
fix: Guarding against empty descriptions in `SlashCommandBuilder`/`SlashCommandOptionBuilder` ( #2260 )
* adding null/empty check for option-descriptions
* moving check to Preconditions
* docs
3 years ago
Quin Lynch
d98b3cc495
feature: V2 Permissions ( #2222 )
* Initial V2 permissions
* add perms-v2 attributes and properties, add deprecation messages
* add perms-v2 properties to command info classes
* add perms-v2 fields to Rest/SocketApplicationCommand entities and IApplicationCommand
* fix json name of DmPermission field
Co-authored-by: Cenngo <cenk.ergen1@gmail.com>
3 years ago
Cenk Ergen
4ce1801bdf
feature: Passing CustomId matches into contexts ( #2136 )
* add logic for passing the wild card captures into the context
* move concrete impl of IRouteSegmentMatch to internal
* Apply suggestions from code review
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* fix build errors
* Apply suggestions from code review
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
3 years ago
Alex Thomson
275b833205
Fix browser property ( #2254 )
3 years ago
Discord-NET-Robot
e1a8ecd723
[Robot] Add missing json error ( #2237 )
* Add 10087, 30047, 30048, 40061 Error codes
* Update src/Discord.Net.Core/DiscordErrorCode.cs
* Update src/Discord.Net.Core/DiscordErrorCode.cs
Co-authored-by: Discord.Net Robot <robot@elons.sweatshop.stop>
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Alex Thomson
daba58cdd4
Fix SocketGuild not returning the AudioClient ( #2248 )
3 years ago
Quin Lynch
9992874703
meta: 3.5.0
3 years ago
Armano den Boef
d8757a5afa
feature: Update bans to support pagination ( #2223 )
* Cacheless impl
* Ignore cache impl
* Update src/Discord.Net.Core/Entities/Channels/Direction.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/Direction.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Channels/Direction.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Update src/Discord.Net.Core/Entities/Guilds/IGuild.cs
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
* Implement xmldoc consistency
Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
3 years ago
Quin Lynch
bfd0d9bede
fix: GuildMemberUpdated cacheable before entity incorrect ( #2225 )
3 years ago
Armano den Boef
e38104bb32
feature: Make bidirectional formatting optional ( #2204 )
* Init
* Clearing up comment on config entry.
* Update user entities to remove storage of the setting
Co-authored-by: Quin Lynch <lynchquin@gmail.com>
3 years ago
Armano den Boef
8522447c27
Fix gateway interactions not running without bot scope. ( #2217 )
* Init
* Implement public channelId
3 years ago
Armano den Boef
a744948477
feature: Global interaction post execution event. ( #2213 )
* Init
* Variable set to event
* Put internal above private
* Revert "Put internal above private"
This reverts commit 77784f001f .
* Revert "Variable set to event"
This reverts commit 2b0cb81d76 .
* Revert "Init"
This reverts commit 9892ce7b51 .
* Potentially improved approach
3 years ago
Cenk Ergen
d2118f02fb
Adds a action delegate parameter to `RespondWithModalAsync<T>()` for modifying the modal ( #2226 )
* add modifyModal deleagate parameter to RespondWithModalAsync extension method
* change the position of the new parameter to avoid introducing a breaking change
3 years ago
Cenk Ergen
1c680db2ba
add respondwithmodal methods to restinteractinmodulebase ( #2227 )
3 years ago
Armano den Boef
c4131cfc8b
Fix: ShardedClients not pushing PresenceUpdates ( #2219 )
3 years ago
Quin Lynch
73399459ea
feature: add a way to remove type readers from the interaction/command service. ( #2210 )
* Add remove methods
* add inline docs
Co-authored-by: Cenngo <cenk.ergen1@gmail.com>
3 years ago
Quin Lynch
91d8fabb70
Fix: GuildPermissions.All not including newer permissions ( #2209 )
3 years ago
FeroxFoxxo
305d7f9e13
Fix: Integration model from GuildIntegration and added INTEGRATION gateway events ( #2168 )
* fix integration models; add integration events
* fix description on IGUILD for integration
* fix typo in integration documentation
* fix documentation in connection visibility
* removed public identitiers from app and connection
* Removed REST endpoints that are not part of the API.
* Added documentation for rest integrations
* added optional types
* Fixed rest interaction field with not being IsSpecified
3 years ago
KeylAmi
d656722bd9
Fix: modal response failing ( #2187 )
* Update bugreport.yml
* Update bugreport.yml
removed d.net reference. fixed spelling.
* Update bugreport.yml
Adjusted verbiage for clarity
* Fix for modal response failing
Credit to @Cenggo for finding issue.
3 years ago
Armano den Boef
d48a7bd348
Fix: serialization error on thread creation timestamp. ( #2188 )
3 years ago
d4n
741ed809d6
Add missing methods to IComponentInteraction ( #2201 )
3 years ago
Armano den Boef
82473bce69
Update GuildMemberUpdated comment regarding presence ( #2193 )
3 years ago
Quin Lynch
e3fc96bc44
meta: 3.4.1
3 years ago
Quin Lynch
25aaa4948a
fix: thread owner always null ( #2182 )
3 years ago
Quin Lynch
f8ec3c79c2
Fix/ambigiuous reference ( #2181 )
* fix: Ambigiuous reference when creating roles
* Update RestGuild.cs
3 years ago
Quin Lynch
765c0c5544
Feature: attachment description and content type ( #2180 )
3 years ago
Quin Lynch
24b7bb593a
Fix: sharded client logout ( #2179 )
3 years ago