Shoutout command with java?

can anyone help make a command line that if u shoutout a user ex.
!so @dillydally
then the bot will remove the @ and continue to produce the twitch channel infos…
thanks

Something like this should work. Feel free to change the output with the things you want.

!commands add !so $(twitch $(eval `$(query)`.charAt(0) === '@' ? `$(query)`.slice(1) : `$(query)`) "{{displayName}} -- {{url}} -- {{views}} views -- {{followers}} followers")

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.