diff --git a/src/discordobject.nim b/src/discordobject.nim new file mode 100644 index 0000000..101ee29 --- /dev/null +++ b/src/discordobject.nim @@ -0,0 +1,7 @@ +type + snowflake = uint64 + DiscordObject* = object of RootObj + id*: snowflake + +proc `==`(obj1: DiscordObject, obj2: DiscordObject): bool = + return obj1.id == obj2.id \ No newline at end of file