0.7.3-beta2
This commit is contained in:
@@ -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).
|
||||
|
||||
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.",
|
||||
"authors": [ "RogueException" ],
|
||||
"tags": [ "discord", "discordapp" ],
|
||||
@@ -13,7 +13,7 @@
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Discord.Net": "0.7.3-beta1"
|
||||
"Discord.Net": "0.7.3-beta2"
|
||||
},
|
||||
"frameworks": {
|
||||
"net45": { },
|
||||
|
||||
@@ -659,6 +659,7 @@ namespace Discord
|
||||
CheckReady();
|
||||
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,
|
||||
name: name ?? role.Name,
|
||||
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.",
|
||||
"authors": [ "RogueException" ],
|
||||
"tags": [ "discord", "discordapp" ],
|
||||
|
||||
Reference in New Issue
Block a user