scripts/regex: only use timeout if it is needed
scripts/regex: only use timeout if it is needed

Was calling Timeout::timeout every time we got a channel message. Now we
only do it when we get something that looks like a g// or s///.

Midna10177/Terminus-Bot,Terminus-Project/Terminus-Bot,ariscop/Terminus-Bot