Commit Graph

3361 Commits

Author SHA1 Message Date
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
Armano den Boef
30fdfa4948 Update README.md (#1985) 2021-12-22 09:37:23 -04:00
quin lynch
2c567ea546 Add section about timeouts in interactions 2021-12-21 09:19:35 -04:00
Quin Lynch
97f5190746 fix typo 2021-12-21 03:18:36 -04:00
Quin Lynch
8daa0b6c91 fix: guild scheduled events update (#1976) 2021-12-20 12:42:28 -04:00
Cenk Ergen
a2f57f8cc6 fix requireRole attribute of interaction service (#1980) 2021-12-20 12:41:55 -04:00
Quin Lynch
5d43fe65b4 fix thread member nre (#1977) 2021-12-20 10:59:56 -04:00
quin lynch
768a0a90b6 Fix voice codes namespace 2021-12-19 11:12:21 -04:00
quin lynch
34444b0ad9 meta: 3.0.0 2021-12-19 08:23:14 -04:00
ppaneksamsung
a4b0c4f1e3 Allow clients to send 'Gateway Voice State Update' command (#1888)
* Expose SendVoiceStateUpdateAsync API to clients

Fixes #1882

* Revert "Expose SendVoiceStateUpdateAsync API to clients"

This reverts commit 1a11cae7

* Add IAudioChannel.ModifyAsync API

* fix NRE with request options

Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
Co-authored-by: quin lynch <lynchquin@gmail.com>
2021-12-19 03:42:08 -04:00