best practice for hybrid commands
im wondering what the best practices for making commands that have a message and slash version would be. is it possible to have one single file (ex: ping.ts) that stores a PingSlashCommand class and a PingMessageCommand class? so far ive divided it up via 2 files. one called ping.ts and one called message.ping.ts. this is kinda annoying though...
3 Replies
it would be best to have them in the same file
yeah because you can do messageRun and chatInputRun
in ONE file/class
i.e.