rehlithe
rehlithe
Explore posts from servers
KKord
Created by rehlithe on 6/15/2024 in #help
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?
3 replies