So, I'm working on Discord API wrapper written in Lua, but there's an issue, I use rxi's classic module for creating classes and objects, every class works fine, instead of the one class, Message, while trying to create a message in Interaction module.
Github repo : https://github.com/RealJace/discord.lua
Thank's for any help.
NOTE : Every class that's being created is defined in original code but I had to remove them from codeblocks so StackOverflow let's me post this
NOTE 2 : Object class is the rxi's classic
Here you're calling
Message:Messageis a table value and does not have a metatable implementing the __call metamethod.Either don't attempt to call it or ensure it can be called.