Export discord object == operator

This commit is contained in:
SeanOMik 2020-06-18 15:31:28 -05:00
parent b8c61487a2
commit 195dcff3ed
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 1 additions and 1 deletions

View File

@ -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