From ef1d87a311cb042bdcfe0e6f8ee4239b803e09f9 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Wed, 17 Jun 2020 22:16:58 -0500 Subject: [PATCH] Fix getIDFromJson --- src/nimcordutils.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimcordutils.nim b/src/nimcordutils.nim index d65a0b5..e07dd09 100644 --- a/src/nimcordutils.nim +++ b/src/nimcordutils.nim @@ -3,7 +3,7 @@ from discordobject import snowflake proc getIDFromJson*(str: string): uint64 = var num: uint64 - discard parseOct(str, num) + discard parseBiggestUInt(str, num) return num proc endpoint*(url: string): string =