Commit Graph

3383 Commits

Author SHA1 Message Date
Quin Lynch
97e54e1047 Feature: Allow modifying attachments on interactions and extend the module base (#2091) 2022-02-09 00:12:22 -04:00
Quin Lynch
b424bb2019 Fix Current user null on reconnect (#2092) 2022-02-09 00:12:07 -04:00
Quin Lynch
75e94feab0 Add IEnumerable collection parameters instead of arrays for MessageExtensions (#2079) 2022-02-08 21:45:48 -04:00
Armano den Boef
0a672addcf Create bugreport.yml (#2080)
* Create bugreport.yml

Grabbed from Discord.Net-Labs, original by @CottageDwellingCat

* Append faq link

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>

* Append migration guide

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>

* Append version change

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>

* Append body

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>

* Fix 5/???

smh I was tired when I committed this and didnt bother making changes assuming it was already good :'')

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
2022-02-08 21:44:55 -04:00
AlFas
43b20bc73e Simplify code in DiscordComparers (#1713) 2022-02-03 14:34:39 -04:00
Armano den Boef
b45aebf506 fix: Rest message components cannot pass through execute method (#2076)
Line 60 should be equal to line 42 here. Currently rest interactions cant execute the messagecomponent handlers.
2022-02-03 14:04:23 -04:00
Armano den Boef
7d6f4f3b6c fix: Clone being created on updated entity (#2077)
* Patch clone being created on updated entity

* Clone globaluser as its not within the same instance

* Clone the globaluser alongside the guilduser

* Patch, non-assigned

* Update user entities for globaluser setter
2022-02-03 14:03:22 -04:00
quin lynch
9116c9a97c meta: changelog 2022-01-30 03:19:07 -04:00
quin lynch
e19ad2832a Merge branch 'dev' of https://github.com/discord-net/Discord.Net into dev 2022-01-30 03:10:41 -04:00
quin lynch
fddaac9a21 meta: bump version 2022-01-30 03:10:29 -04:00
Quin Lynch
09eb9facba Fix thread member download on create (#2072) 2022-01-30 03:09:41 -04:00
Quin Lynch
82f3879aaf Fix logging a TaskCanceledException out of users control (#2030) 2022-01-30 02:55:32 -04:00
Cenk Ergen
1917961ee3 Fix Channel Types Attribute (#2066)
* fix channeltypes attribute

* fix channeltypes attribute
2022-01-30 02:54:48 -04:00
Quin Lynch
37ada59639 Fix attempt to get application info for non-bot tokens (#2071) 2022-01-30 01:54:19 -04:00
Armano den Boef
f52513188f Fix markdown formatting in Glossary (#2064) 2022-01-27 10:12:04 -04:00
Christoph L
6dada66992 Set Stream.Position in FileAttachment-ctor to 0 (#2063)
Co-authored-by: Christoph Liebender <c.liebender@vision4quality.de>
2022-01-27 09:55:40 -04:00
Nikita Petko
5773b8e66d Update HttpException to display inner-errors on the HttpException.Message for better debugging (#2059)
Update HttpException.cs
2022-01-27 09:52:46 -04:00
Armano den Boef
3475bd8d6f Add missing IThreadUser interface (#2055)
* Implement

* Add IMentionable to RestThreadUser

* Rather move mentionable to interface for consistency.

* Further consistency
2022-01-27 09:51:30 -04:00
Armano den Boef
b14af1c008 Adding Entity guides, flowcharts, better sample system. (#2054)
* initial

* Interaction glossary entry

* Sharded Interaction sample

* Renames into solution

* Debugging samples

* Modify target location for webhookclient

* Finalizing docs work, resolving docfx errors.

* Adding threaduser to user chart

* Add branch info to readme.

* Edits to user chart

* Resolve format for glossary entries

* Patch sln target

* Issue with file naming fixed

* Patch 1/x for builds

* Appending suggestions
2022-01-27 09:50:49 -04:00
Rob Aguilar
b0f59e3eb9 Update creating-context-menu-commands.md (#2061)
Fix typo
Add missing semicolon
2022-01-27 09:50:26 -04:00
quin lynch
5897dc5a45 chore: update year and version 2022-01-15 06:42:01 -04:00
quin lynch
3108e312aa meta: 3.2.0 2022-01-15 06:11:26 -04:00
Quin Lynch
bcd5fa450b Fix ThreadMember null ref (#2046) 2022-01-15 05:52:59 -04:00
Quin Lynch
a07531f655 Fix argument null exception on Message Create (#2045) 2022-01-15 05:52:46 -04:00
Quin Lynch
c6825647f2 Use ApplicationId for interactions (#2044) 2022-01-15 05:44:55 -04:00
Quin Lynch
7f4feea96d Fix exception when uploading files (#2034) 2022-01-14 07:57:02 -04:00
Quin Lynch
64423a0653 Add GetChannelType extension method (#2035) 2022-01-14 07:56:42 -04:00
Quin Lynch
7075d4ee35 Add missing guild features (#2036) 2022-01-14 07:56:20 -04:00
Quin Lynch
4d9389b3aa Add default ratelimit callback (#2037) 2022-01-14 07:55:57 -04:00
Quin Lynch
3429cf99c8 Add AddRow and WithRows to ComponentBuilder (#2038) 2022-01-14 07:55:36 -04:00
Quin Lynch
c1641f12fc Update v2->v3 guide and index page (#2039)
* Update v2->v3 guide and index

* Fix format on save fail

* Update index.md

* Update discord widget id

* Fix formatting
2022-01-14 07:55:17 -04:00
Quin Lynch
2731e20146 Add user locale & guild locale in interactions (#2040) 2022-01-14 07:53:00 -04:00
Quin Lynch
9a52d05637 Add search methods to InteractionService (#2041) 2022-01-14 07:52:43 -04:00
Quin Lynch
3633929e5f Move gateway intents warning to ready event (#2042) 2022-01-14 07:52:08 -04:00
Quin Lynch
291d1e4d3c Fix Interaction delete original response (#2033)
* Fix interaction delete

* Remove extra space
2022-01-14 03:38:48 -04:00
Quin Lynch
a06ba9fef8 Make DefaultChannel exclude threads (#2031) 2022-01-11 03:36:24 -04:00
James Grant
cd36bb802b Fix OperationCancelledException and add IAsyncEnumerable to wait without thread blocking (#1562)
* Fixed Task Scheduler operation cancelled error caused by Orphaned RunCleanup task on RequestQueue not being awaited on dispose

* Added async disposable interface to various components

* Added incorrect early marking of disposed for DiscordSocketApi client

* Added general task canceled exception catch to cleanup task

* Fix merge errors

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
Co-authored-by: quin lynch <lynchquin@gmail.com>
2022-01-11 03:24:30 -04:00
Cenk Ergen
4ed4718e18 Add Construct Method to InteractionModuleBase and Fix NRE on User-Built Module Creation (#2016) 2022-01-11 02:52:46 -04:00
quin lynch
99d8ca4b6b Update bulk-overwrite-of-global-slash-commands.md
Co-Authored-By: Cookiezzz <2996654+Cookiezzz@users.noreply.github.com>
2022-01-10 20:11:43 -04:00
Cenk Ergen
4b7cda01a6 Fix IsTopLevelCommand (#2025)
* init

* fix IsTopLevel for ModuleInfo and CommandInfo
2022-01-08 04:34:02 -04:00
Cenk Ergen
9594ccc6d9 Remove .ToLower from group name registration (#2024) 2022-01-08 04:13:27 -04:00
Brendan McShane
e3eb0a9522 Fix ModifyAsync (#2023)
* Fix issue with Argument cannot be blank when modifying flags

* Make uniform with existing code
2022-01-07 22:40:08 -04:00
Cenk Ergen
944a0def97 Fix InteractionContext.Guild (#2014)
* fix InteractionContext.Guild

* remove user parameter from InteractionContext ctor
2022-01-05 18:24:33 -04:00
Cenk Ergen
68e3bed4ff Add user-built AddCommand overloads to ModuleBuilder (#2015)
* add user-built AddCommand overloads to ModuleBuilder

* fix inline docs
2022-01-05 18:24:18 -04:00
Tom Upson
093e548cd4 Match argument defaults with IDiscordInteraction on SocketInteraction (#2018) 2022-01-05 18:23:35 -04:00
Quin Lynch
9a6d07cb64 Create FUNDING.yml 2022-01-03 12:31:38 -04:00
quin lynch
b8504bf008 meta: changelog 2021-12-24 16:36:21 -04:00
quin lynch
0a3898ca72 meta: bump version 2021-12-24 16:12:36 -04:00
Quin Lynch
7745558bdc Add MaxUploadLimit to guilds (#2001) 2021-12-24 15:58:01 -04:00
Quin Lynch
2a416a355c Add RTCRegion to voice channels (#2002)
* Add RTCRegion to voice channels

* Update MockedGroupChannel.cs
2021-12-24 15:57:51 -04:00