Moved to using an object for execute args
This commit is contained in:
@@ -9,5 +9,5 @@ export default interface ICommand {
|
||||
public: boolean
|
||||
subcommands?: boolean
|
||||
data: SlashCommandBuilder
|
||||
execute: (interaction: ChatInputCommandInteraction, client: Client) => Promise<void>
|
||||
execute: (arg: { interaction: ChatInputCommandInteraction, client: Client }) => Promise<void>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user