diff --git a/NuGet.Config b/NuGet.Config new file mode 100644 index 000000000..ed0cbc0ef --- /dev/null +++ b/NuGet.Config @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/Nadeko.Bot.Common/DoAsUserMessage.cs b/src/Nadeko.Bot.Common/DoAsUserMessage.cs index 849c7df3a..7ba2eb92e 100644 --- a/src/Nadeko.Bot.Common/DoAsUserMessage.cs +++ b/src/Nadeko.Bot.Common/DoAsUserMessage.cs @@ -79,6 +79,8 @@ public sealed class DoAsUserMessage : IUserMessage public IUser Author => _user; + public IThreadChannel Thread => _msg.Thread; + public IReadOnlyCollection Attachments => _msg.Attachments; public IReadOnlyCollection Embeds => _msg.Embeds; @@ -106,6 +108,7 @@ public sealed class DoAsUserMessage : IUserMessage public MessageFlags? Flags => _msg.Flags; public IMessageInteraction Interaction => _msg.Interaction; + public MessageRoleSubscriptionData RoleSubscriptionData => _msg.RoleSubscriptionData; public Task ModifyAsync(Action func, RequestOptions? options = null) { diff --git a/src/Nadeko.Bot.Common/Nadeko.Bot.Common.csproj b/src/Nadeko.Bot.Common/Nadeko.Bot.Common.csproj index dc0590bda..c4eda4364 100644 --- a/src/Nadeko.Bot.Common/Nadeko.Bot.Common.csproj +++ b/src/Nadeko.Bot.Common/Nadeko.Bot.Common.csproj @@ -7,7 +7,7 @@ - + diff --git a/src/Nadeko.Bot.Modules.Administration/Nadeko.Bot.Modules.Administration.csproj b/src/Nadeko.Bot.Modules.Administration/Nadeko.Bot.Modules.Administration.csproj index 405d0b3b8..5b7e9b2a9 100644 --- a/src/Nadeko.Bot.Modules.Administration/Nadeko.Bot.Modules.Administration.csproj +++ b/src/Nadeko.Bot.Modules.Administration/Nadeko.Bot.Modules.Administration.csproj @@ -7,7 +7,7 @@ - + diff --git a/src/Nadeko.Bot.Modules.Expresssions/Nadeko.Bot.Modules.Expresssions.csproj b/src/Nadeko.Bot.Modules.Expresssions/Nadeko.Bot.Modules.Expresssions.csproj index d74b8f8ec..394e92d30 100644 --- a/src/Nadeko.Bot.Modules.Expresssions/Nadeko.Bot.Modules.Expresssions.csproj +++ b/src/Nadeko.Bot.Modules.Expresssions/Nadeko.Bot.Modules.Expresssions.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Nadeko.Bot.Modules.Permisssions/Nadeko.Bot.Modules.Permisssions.csproj b/src/Nadeko.Bot.Modules.Permisssions/Nadeko.Bot.Modules.Permisssions.csproj index 1cd65638c..1dc52c7ae 100644 --- a/src/Nadeko.Bot.Modules.Permisssions/Nadeko.Bot.Modules.Permisssions.csproj +++ b/src/Nadeko.Bot.Modules.Permisssions/Nadeko.Bot.Modules.Permisssions.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Nadeko.Bot.Modules.Utility/Utility.cs b/src/Nadeko.Bot.Modules.Utility/Utility.cs index 5db752068..e1dd37b4c 100644 --- a/src/Nadeko.Bot.Modules.Utility/Utility.cs +++ b/src/Nadeko.Bot.Modules.Utility/Utility.cs @@ -463,10 +463,11 @@ public partial class Utility : NadekoModule tags = new[] { name }; await ctx.Guild.CreateStickerAsync(name, - string.IsNullOrWhiteSpace(description) ? "Missing description" : description, - tags, stream, - $"{name}.{format}"); + $"{name}.{format}", + tags, + description: string.IsNullOrWhiteSpace(description) ? "Missing description" : description + ); await ctx.OkAsync(); } diff --git a/src/Nadeko.Medusa/Nadeko.Medusa.csproj b/src/Nadeko.Medusa/Nadeko.Medusa.csproj index 761571fc5..3e9bb055c 100644 --- a/src/Nadeko.Medusa/Nadeko.Medusa.csproj +++ b/src/Nadeko.Medusa/Nadeko.Medusa.csproj @@ -9,7 +9,7 @@ - +