File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ Here's an example `content` command which replies with the content of the target
9292 },
9393
9494 run : ({ interaction, client, handler }) => {
95- interaction .reply (` The message is: ${ interaction .targetMessage } ` );
95+ interaction .reply (` The message is: ${ interaction .targetMessage . content } ` );
9696 },
9797
9898 options: {
@@ -115,7 +115,7 @@ Here's an example `content` command which replies with the content of the target
115115 }
116116
117117 export function run ({ interaction, client, handler }) {
118- interaction .reply (` The message is: ${ interaction .targetMessage } ` );
118+ interaction .reply (` The message is: ${ interaction .targetMessage . content } ` );
119119 }
120120
121121 export const options = {
@@ -138,7 +138,7 @@ Here's an example `content` command which replies with the content of the target
138138 }
139139
140140 export function run({ interaction , client , handler }: ContextMenuCommandProps ) {
141- interaction .reply (` The message is: ${interaction .targetMessage } ` );
141+ interaction .reply (` The message is: ${interaction .targetMessage . content } ` );
142142 }
143143
144144 export const options: CommandOptions = {
You can’t perform that action at this time.
0 commit comments