@@ -1,7 +1,7 @@ | |||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<VersionPrefix>2.0.0-alpha</VersionPrefix> | |||||
<VersionSuffix></VersionSuffix> | |||||
<VersionPrefix>2.0.0</VersionPrefix> | |||||
<VersionSuffix>beta</VersionSuffix> | |||||
<Authors>RogueException</Authors> | <Authors>RogueException</Authors> | ||||
<PackageTags>discord;discordapp</PackageTags> | <PackageTags>discord;discordapp</PackageTags> | ||||
<PackageProjectUrl>https://github.com/RogueException/Discord.Net</PackageProjectUrl> | <PackageProjectUrl>https://github.com/RogueException/Discord.Net</PackageProjectUrl> | ||||
@@ -2,11 +2,11 @@ | |||||
[](https://www.nuget.org/packages/Discord.Net) | [](https://www.nuget.org/packages/Discord.Net) | ||||
[](https://www.myget.org/feed/Packages/discord-net) | [](https://www.myget.org/feed/Packages/discord-net) | ||||
[](https://ci.appveyor.com/project/RogueException/discord-net/branch/dev) | [](https://ci.appveyor.com/project/RogueException/discord-net/branch/dev) | ||||
[](https://discord.gg/0SBTUU1wZTVjAMPx) | |||||
[](https://discord.gg/jkrBmQR) | |||||
An unofficial .NET API Wrapper for the Discord client (http://discordapp.com). | An unofficial .NET API Wrapper for the Discord client (http://discordapp.com). | ||||
Check out the [documentation](https://discord.foxbot.me/docs/) or join the [Discord API Chat](https://discord.gg/0SBTUU1wZTVjAMPx). | |||||
Check out the [documentation](https://discord.foxbot.me/docs/) or join the [Discord API Chat](https://discord.gg/jkrBmQR). | |||||
## Installation | ## Installation | ||||
### Stable (NuGet) | ### Stable (NuGet) | ||||
@@ -34,7 +34,7 @@ after_build: | |||||
if ($Env:APPVEYOR_REPO_TAG -eq "true") { | if ($Env:APPVEYOR_REPO_TAG -eq "true") { | ||||
nuget pack src\Discord.Net\Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="" | nuget pack src\Discord.Net\Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="" | ||||
} else { | } else { | ||||
nuget pack src\Discord.Net\Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="-build-$Env:BUILD" | |||||
nuget pack src\Discord.Net\Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="-$Env:BUILD" | |||||
} | } | ||||
- ps: Get-ChildItem artifacts\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } | - ps: Get-ChildItem artifacts\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } | ||||
@@ -2,7 +2,7 @@ | |||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||||
<metadata> | <metadata> | ||||
<id>Discord.Net</id> | <id>Discord.Net</id> | ||||
<version>2.0.0-alpha$suffix$</version> | |||||
<version>2.0.0-beta$suffix$</version> | |||||
<title>Discord.Net</title> | <title>Discord.Net</title> | ||||
<authors>Discord.Net Contributors</authors> | <authors>Discord.Net Contributors</authors> | ||||
<owners>RogueException</owners> | <owners>RogueException</owners> | ||||
@@ -13,28 +13,28 @@ | |||||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||||
<dependencies> | <dependencies> | ||||
<group targetFramework="net45"> | <group targetFramework="net45"> | ||||
<dependency id="Discord.Net.Core" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Rest" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.WebSocket" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Rpc" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Commands" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Webhook" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Core" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Rest" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.WebSocket" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Rpc" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Commands" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Webhook" version="2.0.0-beta$suffix$" /> | |||||
</group> | </group> | ||||
<group targetFramework="netstandard1.1"> | <group targetFramework="netstandard1.1"> | ||||
<dependency id="Discord.Net.Core" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Rest" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.WebSocket" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Rpc" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Commands" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Webhook" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Core" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Rest" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.WebSocket" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Rpc" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Commands" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Webhook" version="2.0.0-beta$suffix$" /> | |||||
</group> | </group> | ||||
<group targetFramework="netstandard1.3"> | <group targetFramework="netstandard1.3"> | ||||
<dependency id="Discord.Net.Core" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Rest" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.WebSocket" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Rpc" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Commands" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Webhook" version="2.0.0-alpha$suffix$" /> | |||||
<dependency id="Discord.Net.Core" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Rest" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.WebSocket" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Rpc" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Commands" version="2.0.0-beta$suffix$" /> | |||||
<dependency id="Discord.Net.Webhook" version="2.0.0-beta$suffix$" /> | |||||
</group> | </group> | ||||
</dependencies> | </dependencies> | ||||
</metadata> | </metadata> | ||||
@@ -84,7 +84,7 @@ namespace Discord | |||||
Assert.Equal(groupChannel, ChannelPermissions.Group.RawValue); | Assert.Equal(groupChannel, ChannelPermissions.Group.RawValue); | ||||
return Task.CompletedTask; | return Task.CompletedTask; | ||||
} | } | ||||
public Task TestChannelPermissionModify() | public Task TestChannelPermissionModify() | ||||
{ | { | ||||
// test channel permission modify | // test channel permission modify | ||||