Export discord object == operator
This commit is contained in:
parent
b8c61487a2
commit
195dcff3ed
|
@ -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
|
Reference in New Issue