interaction-kit icon indicating copy to clipboard operation
interaction-kit copied to clipboard

Create Record Interface

Open IanMitchell opened this issue 4 years ago • 1 comments

We have a few ways of approaching API helpers - we could take each route and create a getRoleByID helpers, or we could create a standard Record interface that does something like this:

Role.fetch(id).edit({}).save()

Or something similar. It seems like people like this approach a little more, and we can easily build it on top of @leahlundqvist's API helpers and queue systems.

IanMitchell avatar Jun 11 '21 00:06 IanMitchell

This isn't necessary for version 1, so I pushed it back to version 1.1 - additionally, it might be a nice opportunity to integrate with discord.js structures.

IanMitchell avatar Oct 15 '22 01:10 IanMitchell