diff --git a/src/nimcordutils.nim b/src/nimcordutils.nim new file mode 100644 index 0000000..52bc362 --- /dev/null +++ b/src/nimcordutils.nim @@ -0,0 +1,14 @@ +include parseutils, json, httpClient +from discordobject import snowflake + +proc getIDFromJson*(str: string): uint64 = + var num: uint64 + discard parseOct(str, num) + return num + + +type RateLimitBucketType = enum + CHANNEL, + GUILD, + WEBHOOK, + GLOBAL \ No newline at end of file