diff --git a/src/role.nim b/src/role.nim index 7f8a682..42277b5 100644 --- a/src/role.nim +++ b/src/role.nim @@ -11,6 +11,7 @@ type Role* = ref object of DiscordObject guildID*: snowflake proc newRole*(json: JsonNode, guild: snowflake): Role = + ## Parses role from json. result = Role( id: getIDFromJson(json["id"].getStr()), name: json["name"].getStr(),