@@ -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). | ||||
@@ -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": { }, | ||||
@@ -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, | ||||
@@ -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" ], | ||||