0.7.3-beta2

This commit is contained in:
RogueException
2015-10-13 05:04:09 -03:00
parent 3c882cf2e5
commit 43644c8e4a
4 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Discord.Net v0.7.3-beta1 # Discord.Net v0.7.3-beta2
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://discordnet.readthedocs.org/en/latest/) or join the [Discord API Chat](https://discord.gg/0SBTUU1wZTVjAMPx). Check out the [documentation](https://discordnet.readthedocs.org/en/latest/) or join the [Discord API Chat](https://discord.gg/0SBTUU1wZTVjAMPx).

View File

@@ -1,5 +1,5 @@
{ {
"version": "0.7.3-beta1", "version": "0.7.3-beta2",
"description": "A small Discord.Net extension to make bot creation easier.", "description": "A small Discord.Net extension to make bot creation easier.",
"authors": [ "RogueException" ], "authors": [ "RogueException" ],
"tags": [ "discord", "discordapp" ], "tags": [ "discord", "discordapp" ],
@@ -13,7 +13,7 @@
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {
"Discord.Net": "0.7.3-beta1" "Discord.Net": "0.7.3-beta2"
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },

View File

@@ -659,6 +659,7 @@ namespace Discord
CheckReady(); CheckReady();
if (role == null) throw new NullReferenceException(nameof(role)); if (role == null) throw new NullReferenceException(nameof(role));
//TODO: Stop defaulting to cache variables once the server stops 500ing at us
return _api.EditRole(role.ServerId, role.Id, return _api.EditRole(role.ServerId, role.Id,
name: name ?? role.Name, name: name ?? role.Name,
permissions: permissions?.RawValue ?? role.Permissions.RawValue, permissions: permissions?.RawValue ?? role.Permissions.RawValue,

View File

@@ -1,5 +1,5 @@
{ {
"version": "0.7.3-beta1", "version": "0.7.3-beta2",
"description": "An unofficial .Net API wrapper for the Discord client.", "description": "An unofficial .Net API wrapper for the Discord client.",
"authors": [ "RogueException" ], "authors": [ "RogueException" ],
"tags": [ "discord", "discordapp" ], "tags": [ "discord", "discordapp" ],