1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-14 03:55:42 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
678dd914d4
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:47:24 +01:00
f84fc044ba
chore: bump to 3.2.2 2023-06-05 21:46:51 +01:00
e2a608f11d
build: output debug symbols for all projects (#75) 2023-04-02 17:06:18 +01:00
bfd3a5663d
[ci skip] ci: enable .NET analyzers for all projects 2023-04-02 01:11:14 +01:00
c0bd7e0032
ci: exclude uncoverable projects from coverage 2023-04-02 01:07:35 +01:00
78f2c13a1b
style: update branding
The icon is now exported from vector artboards rather than a raster.
2023-03-31 22:22:52 +01:00
9ee99d72d3
[ci skip] style: upgrade projects to C# 11
NB: While using a higher C# version with lower framework version is possible, it's generally advised against because C# syntax may map to .NET types not available in older versions such as .NET Standard 2.1.

This change does not invite the codebase to upgrade to newer types, but rather take advantage of syntax sugar (such as file-scoped namespaces, when this project was updated to C# 10) that does not effect the compiled result.

However, this change does open up the possibilities to add extension methods for the "generic math" interfaces (made possible by static interface members), and these upcoming methods will be targeted to .NET 7 or greater **ONLY**.
2023-03-31 17:30:30 +01:00
e3dcad5690
build(nupkg): use MSBuildProjectDirectory and go up 1 level
SolutionDir macro is returning empty/null in workflow, causing a job failure since CHANGELOG.md is not in root.

this may or may not fix the workflow. tba
2023-03-28 15:11:09 +01:00
2cb6567410
build(nupkg): add PackageReleaseNotes to csproj 2023-03-28 14:27:15 +01:00
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
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
384ec3f61c
[ci skip] Set ContinuousIntegrationBuild to true for CI builds 2023-02-05 13:51:58 +00:00
d14ecdec51
revert DebugType:None 2022-12-21 20:09:45 +00:00
b6d651a5c8
DebugType: None 2022-12-21 20:01:27 +00:00
9349ead3ff
Update DSharpPlus 4.3.0 stable 2022-12-21 19:58:28 +00:00
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
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
c9e473e86f
ConfigureAwait(true) on awaited methods 2022-11-29 16:11:06 +00:00
020b06334b
throw on null client 2022-11-29 16:08:38 +00:00
271305b056
Add .NET 7 target 2022-11-29 15:51:22 +00:00
43e777928e
Update DSharpPlus 4.3.0-nightly-01189 2022-11-29 15:50:37 +00:00
580f044511
Display discriminator in author label 2022-07-23 15:35:29 +01:00
86849b9c0e
Set avatar as icon url, not author url 2022-07-23 15:34:34 +01:00
178cfca1d8
Add generic DiscordEmbedBuilder.AddField<T> 2022-07-21 11:43:05 +01:00
0163c82197
Return DiscordUser, not DiscordGuild, for NormalizeClientAsync 2022-07-21 11:36:34 +01:00
4e5f185862
Add MentionUtility 2022-07-21 11:28:37 +01:00
e41c4a6c96
CLSCompliant(true) 2022-07-21 11:27:45 +01:00
87042d89ba
Add X10D.Hosting & X10D.DSharpPlus 2022-07-20 17:50:47 +01:00