Browse Source

Updated README, fixed User Tests

pull/62/head
Christopher F 9 years ago
parent
commit
a026320b4c
2 changed files with 5 additions and 9 deletions
  1. +5
    -7
      README.md
  2. +0
    -2
      test/Discord.Net.Tests/Rest/UserTests.cs

+ 5
- 7
README.md View File

@@ -1,12 +1,11 @@
# Discord.Net v1.0.0-dev
An unofficial .Net API Wrapper for the Discord client (http://discordapp.com).
[![NuGet Pre Release](https://img.shields.io/nuget/vpre/Discord.Net.svg?maxAge=2592000?style=plastic)](https://www.nuget.org/packages/Discord.Net) [![AppVeyor](https://img.shields.io/appveyor/ci/foxbot/discord-net.svg?maxAge=2592000?style=plastic)](https://ci.appveyor.com/project/foxbot/discord-net/) [![Discord](https://discordapp.com/api/servers/81384788765712384/widget.png)](https://discord.gg/0SBTUU1wZTYLhAAW)

Check out the [documentation](https://discordnet.readthedocs.org/en/latest/) or join the [Discord API Chat](https://discord.gg/0SBTUU1wZTVjAMPx).
Discord.Net is an API wrapper for [Discord](http://discordapp.com) written in C#.

##### Warning: documentation is currently outdated.
It's current being rewritten. Until that's done, feel free to use my [DiscordBot](https://github.com/RogueException/DiscordBot) repo for reference.
Check out the [documentation](https://discordnet.readthedocs.org/en/latest/) or join the [Discord API Chat](https://discord.gg/0SBTUU1wZTVjAMPx).

### Installation
## Installing
You can download Discord.Net and its extensions from NuGet:
- [Discord.Net](https://www.nuget.org/packages/Discord.Net/)
- [Discord.Net.Commands](https://www.nuget.org/packages/Discord.Net.Commands/)
@@ -15,8 +14,7 @@ You can download Discord.Net and its extensions from NuGet:

### Compiling
In order to compile Discord.Net, you require at least the following:
- [Visual Studio 2015](https://www.visualstudio.com/downloads/download-visual-studio-vs)
- Visual Studio 2015 Update 1 or higher (available through Visual Studio)
- [Visual Studio 15](https://www.visualstudio.com/downloads/download-visual-studio-vs)
- [ASP.Net 5 RC1](https://get.asp.net)
- NuGet 3.3 (available through Visual Studio)



+ 0
- 2
test/Discord.Net.Tests/Rest/UserTests.cs View File

@@ -36,10 +36,8 @@ namespace Discord.Tests.Rest
// Cannot Test Avatar URLs, Avatar ID not exposed publicly.
Assert.AreEqual(true, currentUser.IsVerified, "Expected Verified 'true'");
Assert.AreEqual("hello-i-am-not-real@foxbot.me", currentUser.Email, "Expected Email 'hello-i-am-not-real@foxbot.me'");
Assert.AreEqual(UserStatus.Unknown, currentUser.Status, "UserStatus should not be populated.");
Assert.AreEqual(false, currentUser.IsBot, "Expected IsBot 'false'");
Assert.AreEqual("<@66078337084162048>", currentUser.Mention, "Expected Mention '<@66078337084162048>'");
Assert.IsNull(currentUser.CurrentGame, "CurrentGame should not be populated.");
Assert.AreEqual(new DateTime(635714215032370000), currentUser.CreatedAt, "Expected Created At '635714215032370000'");
}
[TestMethod]


Loading…
Cancel
Save