Skip to content

Commit

Permalink
Merge pull request #70 from Peter-MJ-Parker/patch-3
Browse files Browse the repository at this point in the history
edit: params is for MessageComponents
  • Loading branch information
jacoobes committed Jul 19, 2024
2 parents 9dcc8d5 + 28c2a3d commit 57fdb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/v4/transition/from-v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default commandModule({
type: CommandType.Slash,
description: "My ping command",
execute: (ctx, sdt) => {
sdt.params // only exists if current command is not a component
sdt.params // only exists if current command is a component (dynamic custom ids)
sdt.deps // Dependencies
sdt.type // module type
}
Expand Down

0 comments on commit 57fdb2b

Please sign in to comment.