From d88e31e3c3e99218791d09921a2dc1ea559f691f Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Fri, 19 Jun 2020 23:01:22 -0500 Subject: [PATCH] Add documentation --- src/role.nim | 1 + 1 file changed, 1 insertion(+) 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(),