Chat input command trailing lambda separation
I am attempting to write a function which creates chat input command (as a part of a slash command interface).
There are two different methods Kord.createGuildChatInputCommand and Kord.createGlobalChatInputCommand.
The command parameters are exactly the same. How can I separate the command parameters so I only have to write it once?
2 Replies