Note: this package is mainly for my own use, but it might be useful if you use as needed
djs-command-resolver
By using this package, both ComamndInteraction
and Message
will be resolved as unified CommandMessage
and you can code with CommandMessage
with no considering the way the command passed.
Therefore you can support Message-based-command and Interaction-based-command at once, without any verbose codes.
This library was splitted from mtripg6666tdr/Discord-SimpleMusicBot.
You can see more by reading API documentation or directly reading source folder.