From 195dcff3ed7190096fd0bd49f1f8cc6e8936bad0 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 18 Jun 2020 15:31:28 -0500 Subject: [PATCH] Export discord object == operator --- src/discordobject.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discordobject.nim b/src/discordobject.nim index 6ad77d6..e9659b4 100644 --- a/src/discordobject.nim +++ b/src/discordobject.nim @@ -3,5 +3,5 @@ type DiscordObject* = object of RootObj id*: snowflake -proc `==`(obj1: DiscordObject, obj2: DiscordObject): bool = +proc `==`*(obj1: DiscordObject, obj2: DiscordObject): bool = return obj1.id == obj2.id \ No newline at end of file