Command to display text and also call another command

Hi
I am trying to make a command which will display a text message and follow that with calling another command. I have tried the following to edit a command in place:

“!commands edit shoutout NO SHOUTOUTS!!! If you want to speak with the streamer just pose a question. -a=#rules”

Ideally, when shoutout is asked it will display NO SHOUTOUTS!!! If you want to speak with the streamer just pose a question.

And follow it up with showing the rules for using the chat.

Currently, the command ignores the text that was typed and only displays the rule for the chat. Can this be done or am I asking for too much?

You would need the aliased command to print the output… You can use $(query) in the alias response to do that.