Commit Graph

3370 Commits

Author SHA1 Message Date
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
Quin Lynch
144741e7c4 Guilduser timeouts and MODERATE_MEMBERS permission (#2003)
Co-Authored-By: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
2021-12-24 15:57:41 -04:00
Quin Lynch
82bb3e403f Fix CommandExecuted not invoked on failed parse (#1993)
Co-Authored-By: Adam Gauthier <16079556+louistio@users.noreply.github.com>
2021-12-24 10:38:33 -04:00
Quin Lynch
1fbcbb8a67 Make HasResponded public and add it to IDiscordInteraction (#1994) 2021-12-24 10:38:22 -04:00
Quin Lynch
ad20e03a98 Fixed file being disposed on upload (#1995) 2021-12-24 10:38:11 -04:00
Quin Lynch
ccc365edfd Add nullable type converter to Interaction service (#1996)
* Add nullable type converter to Interaction service

* update NullableConverter CanConvertTo body
2021-12-24 10:37:57 -04:00
Quin Lynch
cb1aad308b Make module service scopes optional (#1997)
Co-Authored-By: Cenk Ergen <57065323+Cenngo@users.noreply.github.com>
2021-12-24 10:37:47 -04:00
Quin Lynch
9f124b25ab Add before and after execute async (#1998) 2021-12-24 10:37:36 -04:00
Quin Lynch
5446bfe343 Fix SocketGuildUser being changed to SocketGlobalUser in UserLeft (#1999)
Co-Authored-By:  <25006819+sabihoshi@users.noreply.github.com>
2021-12-24 10:37:25 -04:00
Steven
fb5252511a fix images; fix closing brace on cs ref (#1992) 2021-12-23 12:01:44 -04:00
Steven
a8b550660b Fix images path for select menu section (#1990) 2021-12-23 06:39:29 -04:00
Armano den Boef
e779e97fa5 Update FAQ & Migration guide to include Intents (#1987)
* Update client-basics.md

* Update v2_to_v3_guide.md
2021-12-22 11:04:08 -04:00
Armano den Boef
178446ab80 Update package banner link (#1986)
* Missed single link update

> Working on svg logo to be made available from main site instead of third party.

* Add logo with border

* Update img link
2021-12-22 09:52:04 -04:00
Quin Lynch
7fd991f7b5 Update README.md 2021-12-22 09:39:20 -04:00