Browse Source

Closes #12. Implemented MessageComponent to ReplyAsync

meta: bump versions from dev to minor
pull/1923/head
quin lynch 4 years ago
parent
commit
b9efd98698
6 changed files with 19 additions and 19 deletions
  1. +1
    -1
      src/Discord.Net.Commands/Discord.Net.Commands.csproj
  2. +2
    -2
      src/Discord.Net.Commands/ModuleBase.cs
  3. +1
    -1
      src/Discord.Net.Core/Discord.Net.Core.csproj
  4. +1
    -1
      src/Discord.Net.Rest/Discord.Net.Rest.csproj
  5. +1
    -1
      src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj
  6. +13
    -13
      src/Discord.Net/Discord.Net.nuspec

+ 1
- 1
src/Discord.Net.Commands/Discord.Net.Commands.csproj View File

@@ -7,7 +7,7 @@
<Description>A Discord.Net Labs extension adding support for bot commands.</Description>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>2.3.1</Version>
<Version>2.3.2</Version>
<PackageId>Discord.Net.Labs.Commands</PackageId>
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>


+ 2
- 2
src/Discord.Net.Commands/ModuleBase.cs View File

@@ -36,9 +36,9 @@ namespace Discord.Commands
/// If <c>null</c>, all mentioned roles and users will be notified.
/// </param>
/// <param name="messageReference">The message references to be included. Used to reply to specific messages.</param>
protected virtual async Task<IUserMessage> ReplyAsync(string message = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
protected virtual async Task<IUserMessage> ReplyAsync(string message = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
return await Context.Channel.SendMessageAsync(message, isTTS, embed, options, allowedMentions, messageReference).ConfigureAwait(false);
return await Context.Channel.SendMessageAsync(message, isTTS, embed, options, allowedMentions, messageReference, component).ConfigureAwait(false);
}
/// <summary>
/// The method to execute before executing the command.


+ 1
- 1
src/Discord.Net.Core/Discord.Net.Core.csproj View File

@@ -8,7 +8,7 @@
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<PackageId>Discord.Net.Labs.Core</PackageId>
<Version>2.3.4</Version>
<Version>2.3.5</Version>
<Product>Discord.Net.Labs.Core</Product>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
<PackageIcon>Temporary.png</PackageIcon>


+ 1
- 1
src/Discord.Net.Rest/Discord.Net.Rest.csproj View File

@@ -9,7 +9,7 @@
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<PackageIcon>Temporary.png</PackageIcon>
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl>
<Version>2.3.5</Version>
<Version>2.3.6</Version>
<PackageId>Discord.Net.Labs.Rest</PackageId>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
<AssemblyVersion>2.3.4</AssemblyVersion>


+ 1
- 1
src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj View File

@@ -8,7 +8,7 @@
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>2.3.4</Version>
<Version>2.3.5</Version>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl>
<PackageIcon>Temporary.png</PackageIcon>


+ 13
- 13
src/Discord.Net/Discord.Net.nuspec View File

@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Discord.Net.Labs</id>
<version>2.3.3$suffix$</version>
<version>2.3.4$suffix$</version>
<title>Discord.Net Labs</title>
<authors>Discord.Net Contributors</authors>
<owners>quinchs</owners>
@@ -14,24 +14,24 @@
<iconUrl>https://avatars.githubusercontent.com/u/84047264</iconUrl>
<dependencies>
<group targetFramework="net461">
<dependency id="Discord.Net.Labs.Core" version="2.3.4$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.4$suffix$" />
<dependency id="Discord.Net.Labs.Commands" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Labs.Core" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.3.6$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.Commands" version="2.3.2$suffix$" />
<dependency id="Discord.Net.Labs.Webhook" version="2.3.1$suffix$" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="Discord.Net.Labs.Core" version="2.3.4$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.4$suffix$" />
<dependency id="Discord.Net.Labs.Commands" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Labs.Core" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.3.6$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.Commands" version="2.3.2$suffix$" />
<dependency id="Discord.Net.Labs.Webhook" version="2.3.1$suffix$" />
</group>
<group targetFramework="netstandard2.1">
<dependency id="Discord.Net.Labs.Core" version="2.3.4$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.4$suffix$" />
<dependency id="Discord.Net.Labs.Commands" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Labs.Core" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.Rest" version="2.3.6$suffix$" />
<dependency id="Discord.Net.Labs.WebSocket" version="2.3.5$suffix$" />
<dependency id="Discord.Net.Labs.Commands" version="2.3.2$suffix$" />
<dependency id="Discord.Net.Labs.Webhook" version="2.3.1$suffix$" />
</group>
</dependencies>


Loading…
Cancel
Save