Commit Graph

16 Commits

Author SHA1 Message Date
Oliver Booth b977b7a4ec
Merge branch 'main' into release/4.0.0 2023-08-09 15:24:33 +01:00
Oliver Booth 455b324071
feat: add support for new usernames
user discriminators become "0" if the user has a new username, distinct from "0000" for webhooks.
2023-06-05 21:38:09 +01:00
Oliver Booth 3b5fb7b2be
refactor: remove throw helpers in X10D.DSharpPlus (#80) 2023-04-13 22:35:43 +01:00
Oliver Booth a076a61ae4
Add DiscordGuild.GetMemberOrNullAsync
D#+ throws an undocumented NotFoundException when a member does not exist. This method returns null instead
2023-02-19 15:27:51 +00:00
Oliver Booth 6cd7d8d5ce
Add DiscordClient.GetUserOrNullAsync
D#+ throws an undocumented NotFoundException when a user does not exist. This method returns null instead
2023-02-19 15:27:25 +00:00
Oliver Booth c8d2a5cbec
Call .ConfigureAwait(false)
Yes I wrote true, this was a mistake.

https://media.tenor.com/YQv2NMgnGmoAAAAC/tom-hanks-forrest-gump.gif
2022-11-29 18:53:58 +00:00
Oliver Booth aeef084dba
Mark X10D.DSharpPlus as not CLS-compliant
D#+ makes heavy use of ulong for snowflake IDs, which is not a CLS-compliant type
2022-11-29 17:27:18 +00:00
Oliver Booth c9e473e86f
ConfigureAwait(true) on awaited methods 2022-11-29 16:11:06 +00:00
Oliver Booth 020b06334b
throw on null client 2022-11-29 16:08:38 +00:00
Oliver Booth 580f044511
Display discriminator in author label 2022-07-23 15:35:29 +01:00
Oliver Booth 86849b9c0e
Set avatar as icon url, not author url 2022-07-23 15:34:34 +01:00
Oliver Booth 178cfca1d8
Add generic DiscordEmbedBuilder.AddField<T> 2022-07-21 11:43:05 +01:00
Oliver Booth 0163c82197
Return DiscordUser, not DiscordGuild, for NormalizeClientAsync 2022-07-21 11:36:34 +01:00
Oliver Booth 4e5f185862
Add MentionUtility 2022-07-21 11:28:37 +01:00
Oliver Booth e41c4a6c96
CLSCompliant(true) 2022-07-21 11:27:45 +01:00
Oliver Booth 87042d89ba
Add X10D.Hosting & X10D.DSharpPlus 2022-07-20 17:50:47 +01:00