!so command that works even if you do @ before the name

So right now I get this error:

Labot: !so @example

Nightbot: Unknown Twitch Channel

Is there a way to make it work With the @ before the username?

!so @example

If you haven’t yet, follow example at twitch tv/example for being f*ckin awesome!

Obviously it would be nice if both !so @example and !so example worked, with or without the @.

!addcom -cd=5 !so $(twitch $(eval decodeURIComponent(`$(querystring)`).split(` `)[0].replace(/@/g,``)||`$(user)`) "If you haven't yet, follow {{displayName}} at {{url}} for being f*ckin awesome!")

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