Hello, I want to create a particular command that give a different output if an argument was add after the command.
I want to do this:
!hug -> $(user) hugs $(channel) -> User hugs wily_wolf
but if you add an argument it should switch channel name with the argument after !hug
!hug John -> User hugs John
Basically I would have a single command that operates differently depending of the presence or not of a name after it
Is it possible? Or if no is there a way to do this?